Package com.google.crypto.tink.daead
Class DeterministicAeadFactory
- java.lang.Object
-
- com.google.crypto.tink.daead.DeterministicAeadFactory
-
@Deprecated public final class DeterministicAeadFactory extends java.lang.ObjectDeprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), DeterministicAead.class)after registering theDeterministicAeadWrapperinstead.Deprecated class to createDeterministicAeadprimitives. Instead of using this class, make sure that theDeterministicAeadWrapperis registered in your binary, then callkeysetHandle.getPrimitive(RegistryConfiguration.get(), DeterministicAead.class)instead. The required registration happens automatically if you called one of the following in your binary:DeterministicAeadConfig.register()TinkConfig.register()
- Since:
- 1.1.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DeterministicAeadgetPrimitive(KeysetHandle keysetHandle)Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), DeterministicAead.class)after registering theDeterministicAeadWrapperinstead.
-
-
-
Method Detail
-
getPrimitive
@Deprecated public static DeterministicAead getPrimitive(KeysetHandle keysetHandle) throws java.security.GeneralSecurityException
Deprecated.UsekeysetHandle.getPrimitive(RegistryConfiguration.get(), DeterministicAead.class)after registering theDeterministicAeadWrapperinstead.- Returns:
- a DeterministicAead primitive from a
keysetHandle. - Throws:
java.security.GeneralSecurityException
-
-