Class HybridDecryptFactory


  • @Deprecated
    public final class HybridDecryptFactory
    extends java.lang.Object
    Deprecated.
    Use keysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class) after registering the HybridDecryptWrapper instead.
    Deprecated class to create HybridDecrypt primitives. Instead of using this class, make sure that the HybridDecryptWrapper is registered in your binary, then call keysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class) instead. The required registration happens automatically if you called one of the following in your binary:
    • HybridConfig.register()
    • TinkConfig.register()
    Since:
    1.0.0
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static HybridDecrypt getPrimitive​(KeysetHandle keysetHandle)
      Deprecated.
      Use keysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class) after registering the HybridDecryptWrapper 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 HybridDecrypt getPrimitive​(KeysetHandle keysetHandle)
                                          throws java.security.GeneralSecurityException
        Deprecated.
        Use keysetHandle.getPrimitive(RegistryConfiguration.get(), HybridDecrypt.class) after registering the HybridDecryptWrapper instead.
        Returns:
        a HybridDecrypt primitive from a keysetHandle.
        Throws:
        java.security.GeneralSecurityException