Class StreamingAeadConfig
- java.lang.Object
-
- com.google.crypto.tink.streamingaead.StreamingAeadConfig
-
public final class StreamingAeadConfig extends java.lang.ObjectStatic methods and constants for registering with theRegistryall instances ofStreamingAeadkey types supported in a particular release of Tink.To register all StreamingAead key types provided in the latest Tink version one can do:
StreamingAeadConfig.init();For more information on how to obtain and use instances of StreamingAead, see
StreamingAeadFactory.- Since:
- 1.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAES_CTR_HMAC_STREAMINGAEAD_TYPE_URLstatic java.lang.StringAES_GCM_HKDF_STREAMINGAEAD_TYPE_URLstatic com.google.crypto.tink.proto.RegistryConfigLATESTstatic com.google.crypto.tink.proto.RegistryConfigTINK_1_1_0Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidinit()Deprecated.useregister()static voidregister()
-
-
-
Field Detail
-
AES_CTR_HMAC_STREAMINGAEAD_TYPE_URL
public static final java.lang.String AES_CTR_HMAC_STREAMINGAEAD_TYPE_URL
-
AES_GCM_HKDF_STREAMINGAEAD_TYPE_URL
public static final java.lang.String AES_GCM_HKDF_STREAMINGAEAD_TYPE_URL
-
TINK_1_1_0
@Deprecated public static final com.google.crypto.tink.proto.RegistryConfig TINK_1_1_0
Deprecated.
-
LATEST
public static final com.google.crypto.tink.proto.RegistryConfig LATEST
- Since:
- 1.2.0
-
-
Method Detail
-
init
@Deprecated public static void init() throws java.security.GeneralSecurityExceptionDeprecated.useregister()Tries to register with theRegistryall instances ofCatalogueneeded to handle StreamingAead key types supported in Tink.- Throws:
java.security.GeneralSecurityException
-
-