test_class.declarator: manager = new AesGcmKeyManager()
test_class.modifier: private final
test_class.original_string: private final AesGcmKeyManager manager = new AesGcmKeyManager();
test_class.type: AesGcmKeyManager
test_class.var_name: manager
test_class.declarator: factory =
        manager.keyFactory()
test_class.modifier: private final
test_class.original_string: private final KeyTypeManager.KeyFactory<AesGcmKeyFormat, AesGcmKey> factory =
        manager.keyFactory();
test_class.type: KeyTypeManager.KeyFactory<AesGcmKeyFormat, AesGcmKey>
test_class.var_name: factory
test_class.declarator: nistTestVectors = {
      new NistTestVector(
          "Test Case 1",
          "00000000000000000000000000000000",
          "",
          "",
          "000000000000000000000000",
          "",
          "58e2fccefa7e3061367f1d57a4e7455a"),
      new NistTestVector(
          "Test Case 2",
          "00000000000000000000000000000000",
          "00000000000000000000000000000000",
          "",
          "000000000000000000000000",
          "0388dace60b6a392f328c2b971b2fe78",
          "ab6e47d42cec13bdf53a67b21257bddf"),
      new NistTestVector(
          "Test Case 3",
          "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b391aafd255",
          "",
          "cafebabefacedbaddecaf888",
          "42831ec2217774244b7221b784d0d49c"
              + "e3aa212f2c02a4e035c17e2329aca12e"
              + "21d514b25466931c7d8f6a5aac84aa05"
              + "1ba30b396a0aac973d58e091473f5985",
          "4d5c2af327cd64a62cf35abd2ba6fab4"),
      new NistTestVector(
          "Test Case 4",
          "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "cafebabefacedbaddecaf888",
          "42831ec2217774244b7221b784d0d49c"
              + "e3aa212f2c02a4e035c17e2329aca12e"
              + "21d514b25466931c7d8f6a5aac84aa05"
              + "1ba30b396a0aac973d58e091",
          "5bc94fbc3221a5db94fae95ae7121a47"),
      new NistTestVector(
          "Test Case 5",
          "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "cafebabefacedbad",
          "61353b4c2806934a777ff51fa22a4755"
              + "699b2a714fcdc6f83766e5f97b6c7423"
              + "73806900e49f24b22b097544d4896b42"
              + "4989b5e1ebac0f07c23f4598",
          "3612d2e79e3b0785561be14aaca2fccb"),
      new NistTestVector(
          "Test Case 6",
          "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "9313225df88406e555909c5aff5269aa"
              + "6a7a9538534f7da1e4c303d2a318a728"
              + "c3c0c95156809539fcf0e2429a6b5254"
              + "16aedbf5a0de6a57a637b39b",
          "8ce24998625615b603a033aca13fb894"
              + "be9112a5c3a211a8ba262a3cca7e2ca7"
              + "01e4a9a4fba43c90ccdcb281d48c7c6f"
              + "d62875d2aca417034c34aee5",
          "619cc5aefffe0bfa462af43c1699d050"),
      new NistTestVector(
          "Test Case 13",
          "00000000000000000000000000000000" + "00000000000000000000000000000000",
          "",
          "",
          "000000000000000000000000",
          "",
          "530f8afbc74536b9a963b4f1c4cb738b"),
      new NistTestVector(
          "Test Case 14",
          "00000000000000000000000000000000" + "00000000000000000000000000000000",
          "00000000000000000000000000000000",
          "",
          "000000000000000000000000",
          "cea7403d4d606b6e074ec5d3baf39d18",
          "d0d1c8a799996bf0265b98b5d48ab919"),
      new NistTestVector(
          "Test Case 15",
          "feffe9928665731c6d6a8f9467308308" + "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b391aafd255",
          "",
          "cafebabefacedbaddecaf888",
          "522dc1f099567d07f47f37a32a84427d"
              + "643a8cdcbfe5c0c97598a2bd2555d1aa"
              + "8cb08e48590dbb3da7b08b1056828838"
              + "c5f61e6393ba7a0abcc9f662898015ad",
          "b094dac5d93471bdec1a502270e3cc6c"),
      new NistTestVector(
          "Test Case 16",
          "feffe9928665731c6d6a8f9467308308" + "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "cafebabefacedbaddecaf888",
          "522dc1f099567d07f47f37a32a84427d"
              + "643a8cdcbfe5c0c97598a2bd2555d1aa"
              + "8cb08e48590dbb3da7b08b1056828838"
              + "c5f61e6393ba7a0abcc9f662",
          "76fc6ece0f4e1768cddf8853bb2d551b"),
      new NistTestVector(
          "Test Case 17",
          "feffe9928665731c6d6a8f9467308308" + "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "cafebabefacedbad",
          "c3762df1ca787d32ae47c13bf19844cb"
              + "af1ae14d0b976afac52ff7d79bba9de0"
              + "feb582d33934a4f0954cc2363bc73f78"
              + "62ac430e64abe499f47c9b1f",
          "3a337dbf46a792c45e454913fe2ea8f2"),
      new NistTestVector(
          "Test Case 18",
          "feffe9928665731c6d6a8f9467308308" + "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "9313225df88406e555909c5aff5269aa"
              + "6a7a9538534f7da1e4c303d2a318a728"
              + "c3c0c95156809539fcf0e2429a6b5254"
              + "16aedbf5a0de6a57a637b39b",
          "5a8def2f0c9e53f1f75d7853659e2a20"
              + "eeb2b22aafde6419a058ab4f6f746bf4"
              + "0fc0c3b780f244452da3ebf1c5d82cde"
              + "a2418997200ef82e44ae7e3f",
          "a44a8266ee1c8eb0c8b5d4cf5ae9f19a"),
    }
test_class.original_string: NistTestVector[] nistTestVectors = {
      new NistTestVector(
          "Test Case 1",
          "00000000000000000000000000000000",
          "",
          "",
          "000000000000000000000000",
          "",
          "58e2fccefa7e3061367f1d57a4e7455a"),
      new NistTestVector(
          "Test Case 2",
          "00000000000000000000000000000000",
          "00000000000000000000000000000000",
          "",
          "000000000000000000000000",
          "0388dace60b6a392f328c2b971b2fe78",
          "ab6e47d42cec13bdf53a67b21257bddf"),
      new NistTestVector(
          "Test Case 3",
          "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b391aafd255",
          "",
          "cafebabefacedbaddecaf888",
          "42831ec2217774244b7221b784d0d49c"
              + "e3aa212f2c02a4e035c17e2329aca12e"
              + "21d514b25466931c7d8f6a5aac84aa05"
              + "1ba30b396a0aac973d58e091473f5985",
          "4d5c2af327cd64a62cf35abd2ba6fab4"),
      new NistTestVector(
          "Test Case 4",
          "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "cafebabefacedbaddecaf888",
          "42831ec2217774244b7221b784d0d49c"
              + "e3aa212f2c02a4e035c17e2329aca12e"
              + "21d514b25466931c7d8f6a5aac84aa05"
              + "1ba30b396a0aac973d58e091",
          "5bc94fbc3221a5db94fae95ae7121a47"),
      new NistTestVector(
          "Test Case 5",
          "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "cafebabefacedbad",
          "61353b4c2806934a777ff51fa22a4755"
              + "699b2a714fcdc6f83766e5f97b6c7423"
              + "73806900e49f24b22b097544d4896b42"
              + "4989b5e1ebac0f07c23f4598",
          "3612d2e79e3b0785561be14aaca2fccb"),
      new NistTestVector(
          "Test Case 6",
          "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "9313225df88406e555909c5aff5269aa"
              + "6a7a9538534f7da1e4c303d2a318a728"
              + "c3c0c95156809539fcf0e2429a6b5254"
              + "16aedbf5a0de6a57a637b39b",
          "8ce24998625615b603a033aca13fb894"
              + "be9112a5c3a211a8ba262a3cca7e2ca7"
              + "01e4a9a4fba43c90ccdcb281d48c7c6f"
              + "d62875d2aca417034c34aee5",
          "619cc5aefffe0bfa462af43c1699d050"),
      new NistTestVector(
          "Test Case 13",
          "00000000000000000000000000000000" + "00000000000000000000000000000000",
          "",
          "",
          "000000000000000000000000",
          "",
          "530f8afbc74536b9a963b4f1c4cb738b"),
      new NistTestVector(
          "Test Case 14",
          "00000000000000000000000000000000" + "00000000000000000000000000000000",
          "00000000000000000000000000000000",
          "",
          "000000000000000000000000",
          "cea7403d4d606b6e074ec5d3baf39d18",
          "d0d1c8a799996bf0265b98b5d48ab919"),
      new NistTestVector(
          "Test Case 15",
          "feffe9928665731c6d6a8f9467308308" + "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b391aafd255",
          "",
          "cafebabefacedbaddecaf888",
          "522dc1f099567d07f47f37a32a84427d"
              + "643a8cdcbfe5c0c97598a2bd2555d1aa"
              + "8cb08e48590dbb3da7b08b1056828838"
              + "c5f61e6393ba7a0abcc9f662898015ad",
          "b094dac5d93471bdec1a502270e3cc6c"),
      new NistTestVector(
          "Test Case 16",
          "feffe9928665731c6d6a8f9467308308" + "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "cafebabefacedbaddecaf888",
          "522dc1f099567d07f47f37a32a84427d"
              + "643a8cdcbfe5c0c97598a2bd2555d1aa"
              + "8cb08e48590dbb3da7b08b1056828838"
              + "c5f61e6393ba7a0abcc9f662",
          "76fc6ece0f4e1768cddf8853bb2d551b"),
      new NistTestVector(
          "Test Case 17",
          "feffe9928665731c6d6a8f9467308308" + "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "cafebabefacedbad",
          "c3762df1ca787d32ae47c13bf19844cb"
              + "af1ae14d0b976afac52ff7d79bba9de0"
              + "feb582d33934a4f0954cc2363bc73f78"
              + "62ac430e64abe499f47c9b1f",
          "3a337dbf46a792c45e454913fe2ea8f2"),
      new NistTestVector(
          "Test Case 18",
          "feffe9928665731c6d6a8f9467308308" + "feffe9928665731c6d6a8f9467308308",
          "d9313225f88406e5a55909c5aff5269a"
              + "86a7a9531534f7da2e4c303d8a318a72"
              + "1c3c0c95956809532fcf0e2449a6b525"
              + "b16aedf5aa0de657ba637b39",
          "feedfacedeadbeeffeedfacedeadbeef" + "abaddad2",
          "9313225df88406e555909c5aff5269aa"
              + "6a7a9538534f7da1e4c303d2a318a728"
              + "c3c0c95156809539fcf0e2429a6b5254"
              + "16aedbf5a0de6a57a637b39b",
          "5a8def2f0c9e53f1f75d7853659e2a20"
              + "eeb2b22aafde6419a058ab4f6f746bf4"
              + "0fc0c3b780f244452da3ebf1c5d82cde"
              + "a2418997200ef82e44ae7e3f",
          "a44a8266ee1c8eb0c8b5d4cf5ae9f19a"),
    };
test_class.type: NistTestVector[]
test_class.var_name: nistTestVectors
test_class.file: java_src/src/test/java/com/google/crypto/tink/aead/AesGcmKeyManagerTest.java
test_class.identifier: AesGcmKeyManagerTest
test_case.body: @Test
    public void testAes256GcmTemplate() throws Exception {
      KeyTemplate template = AesGcmKeyManager.aes256GcmTemplate();
      assertEquals(new AesGcmKeyManager().getKeyType(), template.getTypeUrl());
      assertEquals(KeyTemplate.OutputPrefixType.TINK, template.getOutputPrefixType());
      AesGcmKeyFormat format =
          AesGcmKeyFormat.parseFrom(
              ByteString.copyFrom(template.getValue()), ExtensionRegistryLite.getEmptyRegistry());
      assertEquals(32, format.getKeySize());
    }
test_case.class_method_signature: AesGcmKeyManagerTest.testAes256GcmTemplate()
test_case.full_signature: @Test public void testAes256GcmTemplate()
test_case.identifier: testAes256GcmTemplate
test_case.invocations: aes256GcmTemplate assertEquals getKeyType getTypeUrl assertEquals getOutputPrefixType parseFrom copyFrom getValue getEmptyRegistry assertEquals getKeySize
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAes256GcmTemplate()
focal_class.file: java_src/src/main/java/com/google/crypto/tink/aead/AesGcmKeyManager.java
focal_class.identifier: AesGcmKeyManager
focal_class.class_method_signature: AesGcmKeyManager.AesGcmKeyManager()
focal_class.full_signature:   AesGcmKeyManager()
focal_class.identifier: AesGcmKeyManager
focal_class.parameters: ()
focal_class.signature:  AesGcmKeyManager()
focal_class.class_method_signature: AesGcmKeyManager.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: AesGcmKeyManager.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: AesGcmKeyManager.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: AesGcmKeyManager.validateKey(AesGcmKey key)
focal_class.full_signature: @Override public void validateKey(AesGcmKey key)
focal_class.identifier: validateKey
focal_class.modifiers: @Override public
focal_class.parameters: (AesGcmKey key)
focal_class.return: void
focal_class.signature: void validateKey(AesGcmKey key)
focal_class.class_method_signature: AesGcmKeyManager.parseKey(ByteString byteString)
focal_class.full_signature: @Override public AesGcmKey parseKey(ByteString byteString)
focal_class.identifier: parseKey
focal_class.modifiers: @Override public
focal_class.parameters: (ByteString byteString)
focal_class.return: AesGcmKey
focal_class.signature: AesGcmKey parseKey(ByteString byteString)
focal_class.class_method_signature: AesGcmKeyManager.keyFactory()
focal_class.full_signature: @Override public KeyFactory<AesGcmKeyFormat, AesGcmKey> keyFactory()
focal_class.identifier: keyFactory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: KeyFactory<AesGcmKeyFormat, AesGcmKey>
focal_class.signature: KeyFactory<AesGcmKeyFormat, AesGcmKey> keyFactory()
focal_class.class_method_signature: AesGcmKeyManager.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: AesGcmKeyManager.aes128GcmTemplate()
focal_class.full_signature: public static final KeyTemplate aes128GcmTemplate()
focal_class.identifier: aes128GcmTemplate
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate aes128GcmTemplate()
focal_class.class_method_signature: AesGcmKeyManager.rawAes128GcmTemplate()
focal_class.full_signature: public static final KeyTemplate rawAes128GcmTemplate()
focal_class.identifier: rawAes128GcmTemplate
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate rawAes128GcmTemplate()
focal_class.class_method_signature: AesGcmKeyManager.aes256GcmTemplate()
focal_class.full_signature: public static final KeyTemplate aes256GcmTemplate()
focal_class.identifier: aes256GcmTemplate
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate aes256GcmTemplate()
focal_class.class_method_signature: AesGcmKeyManager.rawAes256GcmTemplate()
focal_class.full_signature: public static final KeyTemplate rawAes256GcmTemplate()
focal_class.identifier: rawAes256GcmTemplate
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate rawAes256GcmTemplate()
focal_class.class_method_signature: AesGcmKeyManager.createKeyTemplate(
        int keySize, KeyTemplate.OutputPrefixType prefixType)
focal_class.full_signature: private static KeyTemplate createKeyTemplate(
        int keySize, KeyTemplate.OutputPrefixType prefixType)
focal_class.identifier: createKeyTemplate
focal_class.modifiers: private static
focal_class.parameters: (
        int keySize, KeyTemplate.OutputPrefixType prefixType)
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate createKeyTemplate(
        int keySize, KeyTemplate.OutputPrefixType prefixType)
focal_class.superclass: extends KeyTypeManager<AesGcmKey>
focal_method.body: public static final KeyTemplate aes256GcmTemplate() {
      return createKeyTemplate(32, KeyTemplate.OutputPrefixType.TINK);
    }
focal_method.class_method_signature: AesGcmKeyManager.aes256GcmTemplate()
focal_method.full_signature: public static final KeyTemplate aes256GcmTemplate()
focal_method.identifier: aes256GcmTemplate
focal_method.invocations: createKeyTemplate
focal_method.modifiers: public static final
focal_method.parameters: ()
focal_method.return: KeyTemplate
focal_method.signature: KeyTemplate aes256GcmTemplate()