Class StreamingAeadFactory


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

      • getPrimitive

        public static StreamingAead getPrimitive​(KeysetHandle keysetHandle)
                                          throws java.security.GeneralSecurityException
        Deprecated.
        Returns:
        a StreamingAead primitive from a keysetHandle.
        Throws:
        java.security.GeneralSecurityException