keysetHandle.getPrimitive(RegistryConfiguration.get(), 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(RegistryConfiguration.get(), 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(RegistryConfiguration.get(), Aead.class)
after registering the AeadWrapper instead. |
@Deprecated public static Aead getPrimitive(KeysetHandle keysetHandle) throws GeneralSecurityException
keysetHandle.getPrimitive(RegistryConfiguration.get(), Aead.class)
after registering the AeadWrapper instead.keysetHandle.GeneralSecurityException