Class PublicKeyVerifyFactory


  • @Deprecated
    public final class PublicKeyVerifyFactory
    extends java.lang.Object
    Deprecated.
    Use keysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeyVerify.class) after registering the PublicKeyVerifyWrapper instead.
    Deprecated class to create PublicKeyVerify primitives. Instead of using this class, make sure that the PublicKeyVerifyWrapper is registered in your binary, then call keysetHandle.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 PublicKeyVerify getPrimitive​(KeysetHandle keysetHandle)
      Deprecated.
      Use keysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeyVerify.class) after registering the PublicKeyVerifyWrapper instead.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getPrimitive

        @Deprecated
        public static PublicKeyVerify getPrimitive​(KeysetHandle keysetHandle)
                                            throws java.security.GeneralSecurityException
        Deprecated.
        Use keysetHandle.getPrimitive(RegistryConfiguration.get(), PublicKeyVerify.class) after registering the PublicKeyVerifyWrapper instead.
        Returns:
        a PublicKeyVerify primitive from a keysetHandle.
        Throws:
        java.security.GeneralSecurityException