Package com.google.crypto.tink.signature
Class PublicKeySignFactory
- java.lang.Object
-
- com.google.crypto.tink.signature.PublicKeySignFactory
-
@Deprecated public final class PublicKeySignFactory extends java.lang.ObjectDeprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeySign.class)after registering thePublicKeySignWrapperinstead.Deprecated class to createPublicKeySignprimitives. Instead of using this class, make sure that thePublicKeySignWrapperis registered in your binary, then callkeysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeySign.class)instead. The required registration happens automatically if you called one of the following in your binary:SignatureConfig.register()TinkConfig.register()
- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PublicKeySigngetPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeySign.class)after registering thePublicKeySignWrapperinstead.
-
-
-
Method Detail
-
getPrimitive
@Deprecated public static PublicKeySign getPrimitive(KeysetHandle keysetHandle) throws java.security.GeneralSecurityException
Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeySign.class)after registering thePublicKeySignWrapperinstead.- Returns:
- a PublicKeySign primitive from a
keysetHandle. - Throws:
java.security.GeneralSecurityException
-
-