Class DeterministicAeadFactory


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

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