keysetHandle.getPrimitive(RegistryConfiguration.get(),
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(RegistryConfiguration.get(), StreamingAead.class). The required
registration happens automatically if you called one of the following in your binary:
StreamingAeadConfig.register()
TinkConfig.register()
| Modifier and Type | Method and Description |
|---|---|
static StreamingAead |
getPrimitive(KeysetHandle keysetHandle)
Deprecated.
|
public static StreamingAead getPrimitive(KeysetHandle keysetHandle) throws GeneralSecurityException
keysetHandle.GeneralSecurityException