keysetHandle.GetPrimitive(StreamingAead.class) after registering the
StreamingAeadWrapper instead.@Deprecated public final class StreamingAeadFactory extends Object
StreamingAead primitives. Instead of using this class, make
sure that the StreamingAeadWrapper is registered in your binary, then call keysetHandle.GetPrimitive(StreamingAead.class). The required registration happens automatically
if you called one of the following in your binary:
StreamingAeadConfig.register()
TinkConfig.register()
| Constructor and Description |
|---|
StreamingAeadFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamingAead |
getPrimitive(KeysetHandle keysetHandle)
Deprecated.
|
static StreamingAead |
getPrimitive(KeysetHandle keysetHandle,
KeyManager<StreamingAead> keyManager)
Deprecated.
|
public static StreamingAead getPrimitive(KeysetHandle keysetHandle) throws GeneralSecurityException
keysetHandle.GeneralSecurityExceptionpublic static StreamingAead getPrimitive(KeysetHandle keysetHandle, KeyManager<StreamingAead> keyManager) throws GeneralSecurityException
keysetHandle and a custom keyManager.GeneralSecurityException