Package com.google.crypto.tink.signature
Class PublicKeyVerifyFactory
- java.lang.Object
-
- com.google.crypto.tink.signature.PublicKeyVerifyFactory
-
@Deprecated public final class PublicKeyVerifyFactory extends java.lang.ObjectDeprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeyVerify.class)after registering thePublicKeyVerifyWrapperinstead.Deprecated class to createPublicKeyVerifyprimitives. Instead of using this class, make sure that thePublicKeyVerifyWrapperis registered in your binary, then callkeysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeyVerify.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 PublicKeyVerifygetPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeyVerify.class)after registering thePublicKeyVerifyWrapperinstead.
-
-
-
Method Detail
-
getPrimitive
@Deprecated public static PublicKeyVerify getPrimitive(KeysetHandle keysetHandle) throws java.security.GeneralSecurityException
Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeyVerify.class)after registering thePublicKeyVerifyWrapperinstead.- Returns:
- a PublicKeyVerify primitive from a
keysetHandle. - Throws:
java.security.GeneralSecurityException
-
-