Package com.google.crypto.tink.daead
Class DeterministicAeadConfig
- java.lang.Object
-
- com.google.crypto.tink.daead.DeterministicAeadConfig
-
public final class DeterministicAeadConfig extends java.lang.ObjectStatic methods and constants for registering with theRegistryall instances ofDeterministicAeadkey types supported in a particular release of Tink.To register all DeterministicAead key types provided in the latest Tink version one can do:
DeterministicAeadConfig.register();For more information on how to obtain and use instances of DeterministicAead, see
KeysetHandle.getPrimitive(com.google.crypto.tink.Configuration, java.lang.Class<P>).- Since:
- 1.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAES_SIV_TYPE_URLstatic com.google.crypto.tink.proto.RegistryConfigLATESTDeprecated.useregister()static com.google.crypto.tink.proto.RegistryConfigTINK_1_1_0Deprecated.useregister()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidinit()Deprecated.useregister()static voidregister()
-
-
-
Field Detail
-
AES_SIV_TYPE_URL
public static final java.lang.String AES_SIV_TYPE_URL
-
TINK_1_1_0
@Deprecated public static final com.google.crypto.tink.proto.RegistryConfig TINK_1_1_0
Deprecated.useregister()
-
LATEST
@Deprecated public static final com.google.crypto.tink.proto.RegistryConfig LATEST
Deprecated.useregister()- Since:
- 1.2.0
-
-
Method Detail
-
init
@InlineMe(replacement="DeterministicAeadConfig.register()", imports="com.google.crypto.tink.daead.DeterministicAeadConfig") @Deprecated public static void init() throws java.security.GeneralSecurityExceptionDeprecated.useregister()Tries to register with theRegistryall instances ofCatalogueneeded to handle DeterministicAead key types supported in Tink.Because DeterministicAead key types depend on
Mackey types, this method also registers all Mac catalogues.- Throws:
java.security.GeneralSecurityException
-
-