test_class.declarator: manager = new AesCtrHmacAeadKeyManager()
test_class.modifier: private final
test_class.original_string: private final AesCtrHmacAeadKeyManager manager = new AesCtrHmacAeadKeyManager();
test_class.type: AesCtrHmacAeadKeyManager
test_class.var_name: manager
test_class.declarator: factory =
        manager.keyFactory()
test_class.modifier: private final
test_class.original_string: private final KeyTypeManager.KeyFactory<AesCtrHmacAeadKeyFormat, AesCtrHmacAeadKey> factory =
        manager.keyFactory();
test_class.type: KeyTypeManager.KeyFactory<AesCtrHmacAeadKeyFormat, AesCtrHmacAeadKey>
test_class.var_name: factory
test_class.file: java_src/src/test/java/com/google/crypto/tink/aead/AesCtrHmacAeadKeyManagerTest.java
test_class.identifier: AesCtrHmacAeadKeyManagerTest
test_case.body: @Test
    public void testAes256CtrHmacSha256Template() throws Exception {
      KeyTemplate template = AesCtrHmacAeadKeyManager.aes256CtrHmacSha256Template();
      assertEquals(new AesCtrHmacAeadKeyManager().getKeyType(), template.getTypeUrl());
      assertEquals(KeyTemplate.OutputPrefixType.TINK, template.getOutputPrefixType());
      AesCtrHmacAeadKeyFormat format =
          AesCtrHmacAeadKeyFormat.parseFrom(
              template.getValue(), ExtensionRegistryLite.getEmptyRegistry());
  
      assertTrue(format.hasAesCtrKeyFormat());
      assertTrue(format.getAesCtrKeyFormat().hasParams());
      assertEquals(32, format.getAesCtrKeyFormat().getKeySize());
      assertEquals(16, format.getAesCtrKeyFormat().getParams().getIvSize());
  
      assertTrue(format.hasHmacKeyFormat());
      assertTrue(format.getHmacKeyFormat().hasParams());
      assertEquals(32, format.getHmacKeyFormat().getKeySize());
      assertEquals(32, format.getHmacKeyFormat().getParams().getTagSize());
      assertEquals(HashType.SHA256, format.getHmacKeyFormat().getParams().getHash());
    }
test_case.class_method_signature: AesCtrHmacAeadKeyManagerTest.testAes256CtrHmacSha256Template()
test_case.full_signature: @Test public void testAes256CtrHmacSha256Template()
test_case.identifier: testAes256CtrHmacSha256Template
test_case.invocations: aes256CtrHmacSha256Template assertEquals getKeyType getTypeUrl assertEquals getOutputPrefixType parseFrom getValue getEmptyRegistry assertTrue hasAesCtrKeyFormat assertTrue hasParams getAesCtrKeyFormat assertEquals getKeySize getAesCtrKeyFormat assertEquals getIvSize getParams getAesCtrKeyFormat assertTrue hasHmacKeyFormat assertTrue hasParams getHmacKeyFormat assertEquals getKeySize getHmacKeyFormat assertEquals getTagSize getParams getHmacKeyFormat assertEquals getHash getParams getHmacKeyFormat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAes256CtrHmacSha256Template()
focal_class.file: java_src/src/main/java/com/google/crypto/tink/aead/AesCtrHmacAeadKeyManager.java
focal_class.identifier: AesCtrHmacAeadKeyManager
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.AesCtrHmacAeadKeyManager()
focal_class.full_signature:   AesCtrHmacAeadKeyManager()
focal_class.identifier: AesCtrHmacAeadKeyManager
focal_class.parameters: ()
focal_class.signature:  AesCtrHmacAeadKeyManager()
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.getKeyType()
focal_class.full_signature: @Override public String getKeyType()
focal_class.identifier: getKeyType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getKeyType()
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.getVersion()
focal_class.full_signature: @Override public int getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getVersion()
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.keyMaterialType()
focal_class.full_signature: @Override public KeyMaterialType keyMaterialType()
focal_class.identifier: keyMaterialType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: KeyMaterialType
focal_class.signature: KeyMaterialType keyMaterialType()
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.validateKey(AesCtrHmacAeadKey key)
focal_class.full_signature: @Override public void validateKey(AesCtrHmacAeadKey key)
focal_class.identifier: validateKey
focal_class.modifiers: @Override public
focal_class.parameters: (AesCtrHmacAeadKey key)
focal_class.return: void
focal_class.signature: void validateKey(AesCtrHmacAeadKey key)
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.parseKey(ByteString byteString)
focal_class.full_signature: @Override public AesCtrHmacAeadKey parseKey(ByteString byteString)
focal_class.identifier: parseKey
focal_class.modifiers: @Override public
focal_class.parameters: (ByteString byteString)
focal_class.return: AesCtrHmacAeadKey
focal_class.signature: AesCtrHmacAeadKey parseKey(ByteString byteString)
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.keyFactory()
focal_class.full_signature: @Override public KeyFactory<AesCtrHmacAeadKeyFormat, AesCtrHmacAeadKey> keyFactory()
focal_class.identifier: keyFactory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: KeyFactory<AesCtrHmacAeadKeyFormat, AesCtrHmacAeadKey>
focal_class.signature: KeyFactory<AesCtrHmacAeadKeyFormat, AesCtrHmacAeadKey> keyFactory()
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.register(boolean newKeyAllowed)
focal_class.full_signature: public static void register(boolean newKeyAllowed)
focal_class.identifier: register
focal_class.modifiers: public static
focal_class.parameters: (boolean newKeyAllowed)
focal_class.return: void
focal_class.signature: void register(boolean newKeyAllowed)
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.aes128CtrHmacSha256Template()
focal_class.full_signature: public static final KeyTemplate aes128CtrHmacSha256Template()
focal_class.identifier: aes128CtrHmacSha256Template
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate aes128CtrHmacSha256Template()
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.aes256CtrHmacSha256Template()
focal_class.full_signature: public static final KeyTemplate aes256CtrHmacSha256Template()
focal_class.identifier: aes256CtrHmacSha256Template
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate aes256CtrHmacSha256Template()
focal_class.class_method_signature: AesCtrHmacAeadKeyManager.createKeyTemplate(
        int aesKeySize, int ivSize, int hmacKeySize, int tagSize, HashType hashType)
focal_class.full_signature: private static KeyTemplate createKeyTemplate(
        int aesKeySize, int ivSize, int hmacKeySize, int tagSize, HashType hashType)
focal_class.identifier: createKeyTemplate
focal_class.modifiers: private static
focal_class.parameters: (
        int aesKeySize, int ivSize, int hmacKeySize, int tagSize, HashType hashType)
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate createKeyTemplate(
        int aesKeySize, int ivSize, int hmacKeySize, int tagSize, HashType hashType)
focal_class.superclass: extends KeyTypeManager<AesCtrHmacAeadKey>
focal_method.body: public static final KeyTemplate aes256CtrHmacSha256Template() {
      return createKeyTemplate(32, 16, 32, 32, HashType.SHA256);
    }
focal_method.class_method_signature: AesCtrHmacAeadKeyManager.aes256CtrHmacSha256Template()
focal_method.full_signature: public static final KeyTemplate aes256CtrHmacSha256Template()
focal_method.identifier: aes256CtrHmacSha256Template
focal_method.invocations: createKeyTemplate
focal_method.modifiers: public static final
focal_method.parameters: ()
focal_method.return: KeyTemplate
focal_method.signature: KeyTemplate aes256CtrHmacSha256Template()