test_class.file: java_src/src/test/java/com/google/crypto/tink/hybrid/HybridConfigTest.java
test_class.identifier: HybridConfigTest
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("tinkhybridencrypt");
        fail("Expected GeneralSecurityException");
      } catch (GeneralSecurityException e) {
        assertThat(e.toString()).contains("no catalogue found");
        assertThat(e.toString()).contains("HybridConfig.register()");
      }
      try {
        Registry.getCatalogue("tinkhybriddecrypt");
        fail("Expected GeneralSecurityException");
      } catch (GeneralSecurityException e) {
        assertThat(e.toString()).contains("no catalogue found");
        assertThat(e.toString()).contains("HybridConfig.register()");
      }
  
      String typeUrl = "type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey";
      try {
        Registry.getUntypedKeyManager(typeUrl);
        fail("Expected GeneralSecurityException");
      } catch (GeneralSecurityException e) {
        assertThat(e.toString()).contains("No key manager found");
      }
  
      // Initialize the config.
      HybridConfig.register();
  
      Registry.getKeyManager(typeUrl, HybridDecrypt.class);
  
      // Running init() manually again should succeed.
      HybridConfig.register();
    }
test_case.class_method_signature: HybridConfigTest.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 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: ECIES_AEAD_HKDF_PUBLIC_KEY_TYPE_URL =
        new EciesAeadHkdfPublicKeyManager().getKeyType()
focal_class.modifier: public static final
focal_class.original_string: public static final String ECIES_AEAD_HKDF_PUBLIC_KEY_TYPE_URL =
        new EciesAeadHkdfPublicKeyManager().getKeyType();
focal_class.type: String
focal_class.var_name: ECIES_AEAD_HKDF_PUBLIC_KEY_TYPE_URL
focal_class.declarator: ECIES_AEAD_HKDF_PRIVATE_KEY_TYPE_URL =
        new EciesAeadHkdfPrivateKeyManager().getKeyType()
focal_class.modifier: public static final
focal_class.original_string: public static final String ECIES_AEAD_HKDF_PRIVATE_KEY_TYPE_URL =
        new EciesAeadHkdfPrivateKeyManager().getKeyType();
focal_class.type: String
focal_class.var_name: ECIES_AEAD_HKDF_PRIVATE_KEY_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 = RegistryConfig.getDefaultInstance()
focal_class.modifier: @Deprecated public static final
focal_class.original_string: @Deprecated public static final RegistryConfig TINK_1_1_0 = RegistryConfig.getDefaultInstance();
focal_class.type: RegistryConfig
focal_class.var_name: TINK_1_1_0
focal_class.declarator: LATEST = RegistryConfig.getDefaultInstance()
focal_class.modifier: @Deprecated public static final
focal_class.original_string: @Deprecated public static final RegistryConfig LATEST = RegistryConfig.getDefaultInstance();
focal_class.type: RegistryConfig
focal_class.var_name: LATEST
focal_class.file: java_src/src/main/java/com/google/crypto/tink/hybrid/HybridConfig.java
focal_class.identifier: HybridConfig
focal_class.class_method_signature: HybridConfig.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: HybridConfig.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_method.body: public static void register() throws GeneralSecurityException {
      AeadConfig.register();
      EciesAeadHkdfPrivateKeyManager.registerPair(/*newKeyAllowed=*/true);
      HybridDecryptWrapper.register();
      HybridEncryptWrapper.register();
    }
focal_method.class_method_signature: HybridConfig.register()
focal_method.full_signature: public static void register()
focal_method.identifier: register
focal_method.invocations: register registerPair register register
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void register()