Class StreamingAeadConfig


  • public final class StreamingAeadConfig
    extends java.lang.Object
    Static methods and constants for registering with the Registry all instances of StreamingAead key 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 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.GeneralSecurityException
        Deprecated.
        Tries to register with the Registry all instances of Catalogue needed to handle StreamingAead key types supported in Tink.
        Throws:
        java.security.GeneralSecurityException
      • register

        public static void register()
                             throws java.security.GeneralSecurityException
        Tries to register with the Registry all instances of Catalogue needed to handle StreamingAead key types supported in Tink.
        Throws:
        java.security.GeneralSecurityException
        Since:
        1.2.0