Class StreamingAeadFactory
- java.lang.Object
-
- com.google.crypto.tink.streamingaead.StreamingAeadFactory
-
@Deprecated public final class StreamingAeadFactory extends java.lang.ObjectDeprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), StreamingAead.class)after registering theStreamingAeadWrapperinstead.Deprecated class to createStreamingAeadprimitives. Instead of using this class, make sure that theStreamingAeadWrapperis registered in your binary, then callkeysetHandle.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 Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StreamingAeadgetPrimitive(KeysetHandle keysetHandle)Deprecated.
-
-
-
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
-
-