test_class.file: java_src/src/test/java/com/google/crypto/tink/aead/AeadConfigTest.java
test_class.identifier: AeadConfigTest
test_case.body: @Test
    public void aaaTestInitialization() throws Exception {
      try {
        Registry.getCatalogue("tinkmac");
        fail("Expected GeneralSecurityException");
      } catch (GeneralSecurityException e) {
        assertThat(e.toString()).contains("no catalogue found");
        assertThat(e.toString()).contains("MacConfig.register()");
      }
      try {
        Registry.getCatalogue("tinkaead");
        fail("Expected GeneralSecurityException");
      } catch (GeneralSecurityException e) {
        assertThat(e.toString()).contains("no catalogue found");
        assertThat(e.toString()).contains("AeadConfig.register()");
      }
  
      // Before registration, key manager should be absent.
      String typeUrl = "type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey";
      try {
        Registry.getUntypedKeyManager(typeUrl);
        fail("Expected GeneralSecurityException");
      } catch (GeneralSecurityException e) {
        assertThat(e.toString()).contains("No key manager found");
      }
  
      // Initialize the config.
      AeadConfig.register();
  
      // After registration the key manager should be present.
      Registry.getKeyManager(typeUrl, Aead.class);
  
      // Running init() manually again should succeed.
      AeadConfig.register();
    }
test_case.class_method_signature: AeadConfigTest.aaaTestInitialization()
test_case.full_signature: @Test public void aaaTestInitialization()
test_case.identifier: aaaTestInitialization
test_case.invocations: getCatalogue fail contains assertThat toString contains assertThat toString getCatalogue fail contains assertThat toString contains assertThat toString getUntypedKeyManager fail contains assertThat toString register getKeyManager register
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void aaaTestInitialization()
focal_class.declarator: AES_CTR_HMAC_AEAD_TYPE_URL =
        new AesCtrHmacAeadKeyManager().getKeyType()
focal_class.modifier: public static final
focal_class.original_string: public static final String AES_CTR_HMAC_AEAD_TYPE_URL =
        new AesCtrHmacAeadKeyManager().getKeyType();
focal_class.type: String
focal_class.var_name: AES_CTR_HMAC_AEAD_TYPE_URL
focal_class.declarator: AES_GCM_TYPE_URL = new AesGcmKeyManager().getKeyType()
focal_class.modifier: public static final
focal_class.original_string: public static final String AES_GCM_TYPE_URL = new AesGcmKeyManager().getKeyType();
focal_class.type: String
focal_class.var_name: AES_GCM_TYPE_URL
focal_class.declarator: AES_GCM_SIV_TYPE_URL = new AesGcmSivKeyManager().getKeyType()
focal_class.modifier: public static final
focal_class.original_string: public static final String AES_GCM_SIV_TYPE_URL = new AesGcmSivKeyManager().getKeyType();
focal_class.type: String
focal_class.var_name: AES_GCM_SIV_TYPE_URL
focal_class.declarator: AES_EAX_TYPE_URL = new AesEaxKeyManager().getKeyType()
focal_class.modifier: public static final
focal_class.original_string: public static final String AES_EAX_TYPE_URL = new AesEaxKeyManager().getKeyType();
focal_class.type: String
focal_class.var_name: AES_EAX_TYPE_URL
focal_class.declarator: KMS_AEAD_TYPE_URL = new KmsAeadKeyManager().getKeyType()
focal_class.modifier: public static final
focal_class.original_string: public static final String KMS_AEAD_TYPE_URL = new KmsAeadKeyManager().getKeyType();
focal_class.type: String
focal_class.var_name: KMS_AEAD_TYPE_URL
focal_class.declarator: KMS_ENVELOPE_AEAD_TYPE_URL =
        new KmsEnvelopeAeadKeyManager().getKeyType()
focal_class.modifier: public static final
focal_class.original_string: public static final String KMS_ENVELOPE_AEAD_TYPE_URL =
        new KmsEnvelopeAeadKeyManager().getKeyType();
focal_class.type: String
focal_class.var_name: KMS_ENVELOPE_AEAD_TYPE_URL
focal_class.declarator: CHACHA20_POLY1305_TYPE_URL =
        new ChaCha20Poly1305KeyManager().getKeyType()
focal_class.modifier: public static final
focal_class.original_string: public static final String CHACHA20_POLY1305_TYPE_URL =
        new ChaCha20Poly1305KeyManager().getKeyType();
focal_class.type: String
focal_class.var_name: CHACHA20_POLY1305_TYPE_URL
focal_class.declarator: XCHACHA20_POLY1305_TYPE_URL =
        new XChaCha20Poly1305KeyManager().getKeyType()
focal_class.modifier: public static final
focal_class.original_string: public static final String XCHACHA20_POLY1305_TYPE_URL =
        new XChaCha20Poly1305KeyManager().getKeyType();
focal_class.type: String
focal_class.var_name: XCHACHA20_POLY1305_TYPE_URL
focal_class.declarator: TINK_1_0_0 = RegistryConfig.getDefaultInstance()
focal_class.modifier: @Deprecated public static final
focal_class.original_string: @Deprecated public static final RegistryConfig TINK_1_0_0 = RegistryConfig.getDefaultInstance();
focal_class.type: RegistryConfig
focal_class.var_name: TINK_1_0_0
focal_class.declarator: TINK_1_1_0 = TINK_1_0_0
focal_class.modifier: @Deprecated public static final
focal_class.original_string: @Deprecated public static final RegistryConfig TINK_1_1_0 = TINK_1_0_0;
focal_class.type: RegistryConfig
focal_class.var_name: TINK_1_1_0
focal_class.declarator: LATEST = TINK_1_0_0
focal_class.modifier: @Deprecated public static final
focal_class.original_string: @Deprecated public static final RegistryConfig LATEST = TINK_1_0_0;
focal_class.type: RegistryConfig
focal_class.var_name: LATEST
focal_class.file: java_src/src/main/java/com/google/crypto/tink/aead/AeadConfig.java
focal_class.identifier: AeadConfig
focal_class.class_method_signature: AeadConfig.init()
focal_class.full_signature: @Deprecated public static void init()
focal_class.identifier: init
focal_class.modifiers: @Deprecated public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: AeadConfig.register()
focal_class.full_signature: public static void register()
focal_class.identifier: register
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void register()
focal_class.class_method_signature: AeadConfig.registerStandardKeyTypes()
focal_class.full_signature: @Deprecated public static void registerStandardKeyTypes()
focal_class.identifier: registerStandardKeyTypes
focal_class.modifiers: @Deprecated public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void registerStandardKeyTypes()
focal_class.class_method_signature: AeadConfig.AeadConfig()
focal_class.full_signature: private  AeadConfig()
focal_class.identifier: AeadConfig
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  AeadConfig()
focal_method.body: public static void register() throws GeneralSecurityException {
      MacConfig.register();
      AesCtrHmacAeadKeyManager.register(/*newKeyAllowed=*/ true);
      AesEaxKeyManager.register(/*newKeyAllowed=*/ true);
      AesGcmKeyManager.register(/*newKeyAllowed=*/ true);
      AesGcmSivKeyManager.register(/*newKeyAllowed=*/ true);
      ChaCha20Poly1305KeyManager.register(/*newKeyAllowed=*/ true);
      KmsAeadKeyManager.register(/*newKeyAllowed=*/ true);
      KmsEnvelopeAeadKeyManager.register(/*newKeyAllowed=*/ true);
      XChaCha20Poly1305KeyManager.register(/*newKeyAllowed=*/ true);
      AeadWrapper.register();
    }
focal_method.class_method_signature: AeadConfig.register()
focal_method.full_signature: public static void register()
focal_method.identifier: register
focal_method.invocations: register register register register register register register register register register
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void register()