keysetHandle.GetPrimitive(Aead.class) after registering the AeadWrapper instead.@Deprecated public final class AeadFactory extends Object
Aead primitives. Instead of using this class, make sure that
the AeadWrapper is registered in your binary, then call keysetHandle.GetPrimitive(Aead.class) instead. The required registration happens automatically
if you called one of the following in your binary:
HybridConfig.register()
AeadConfig.register()
TinkConfig.register()
| Modifier and Type | Method and Description |
|---|---|
static Aead |
getPrimitive(KeysetHandle keysetHandle)
Deprecated.
Use
keysetHandle.GetPrimitive(Aead.class) after registering the AeadWrapper instead. |
@Deprecated public static Aead getPrimitive(KeysetHandle keysetHandle) throws GeneralSecurityException
keysetHandle.GetPrimitive(Aead.class) after registering the AeadWrapper instead.keysetHandle.GeneralSecurityException