test_class.file: java_src/src/test/java/com/google/crypto/tink/aead/ChaCha20Poly1305KeyManagerTest.java
test_class.identifier: ChaCha20Poly1305KeyManagerTest
test_case.body: @Test
    public void testRawChaCha20Poly1305Template() throws Exception {
      KeyTemplate template = ChaCha20Poly1305KeyManager.rawChaCha20Poly1305Template();
      assertEquals(new ChaCha20Poly1305KeyManager().getKeyType(), template.getTypeUrl());
      assertEquals(KeyTemplate.OutputPrefixType.RAW, template.getOutputPrefixType());
      ChaCha20Poly1305KeyFormat unused =
          ChaCha20Poly1305KeyFormat.parseFrom(
              template.getValue(), ExtensionRegistryLite.getEmptyRegistry());
    }
test_case.class_method_signature: ChaCha20Poly1305KeyManagerTest.testRawChaCha20Poly1305Template()
test_case.full_signature: @Test public void testRawChaCha20Poly1305Template()
test_case.identifier: testRawChaCha20Poly1305Template
test_case.invocations: rawChaCha20Poly1305Template assertEquals getKeyType getTypeUrl assertEquals getOutputPrefixType parseFrom getValue getEmptyRegistry
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRawChaCha20Poly1305Template()
focal_class.declarator: KEY_SIZE_IN_BYTES = 32
focal_class.modifier: private static final
focal_class.original_string: private static final int KEY_SIZE_IN_BYTES = 32;
focal_class.type: int
focal_class.var_name: KEY_SIZE_IN_BYTES
focal_class.file: java_src/src/main/java/com/google/crypto/tink/aead/ChaCha20Poly1305KeyManager.java
focal_class.identifier: ChaCha20Poly1305KeyManager
focal_class.class_method_signature: ChaCha20Poly1305KeyManager.ChaCha20Poly1305KeyManager()
focal_class.full_signature:   ChaCha20Poly1305KeyManager()
focal_class.identifier: ChaCha20Poly1305KeyManager
focal_class.parameters: ()
focal_class.signature:  ChaCha20Poly1305KeyManager()
focal_class.class_method_signature: ChaCha20Poly1305KeyManager.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: ChaCha20Poly1305KeyManager.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: ChaCha20Poly1305KeyManager.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: ChaCha20Poly1305KeyManager.validateKey(ChaCha20Poly1305Key key)
focal_class.full_signature: @Override public void validateKey(ChaCha20Poly1305Key key)
focal_class.identifier: validateKey
focal_class.modifiers: @Override public
focal_class.parameters: (ChaCha20Poly1305Key key)
focal_class.return: void
focal_class.signature: void validateKey(ChaCha20Poly1305Key key)
focal_class.class_method_signature: ChaCha20Poly1305KeyManager.parseKey(ByteString byteString)
focal_class.full_signature: @Override public ChaCha20Poly1305Key parseKey(ByteString byteString)
focal_class.identifier: parseKey
focal_class.modifiers: @Override public
focal_class.parameters: (ByteString byteString)
focal_class.return: ChaCha20Poly1305Key
focal_class.signature: ChaCha20Poly1305Key parseKey(ByteString byteString)
focal_class.class_method_signature: ChaCha20Poly1305KeyManager.keyFactory()
focal_class.full_signature: @Override public KeyFactory<ChaCha20Poly1305KeyFormat, ChaCha20Poly1305Key> keyFactory()
focal_class.identifier: keyFactory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: KeyFactory<ChaCha20Poly1305KeyFormat, ChaCha20Poly1305Key>
focal_class.signature: KeyFactory<ChaCha20Poly1305KeyFormat, ChaCha20Poly1305Key> keyFactory()
focal_class.class_method_signature: ChaCha20Poly1305KeyManager.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: ChaCha20Poly1305KeyManager.chaCha20Poly1305Template()
focal_class.full_signature: public static final KeyTemplate chaCha20Poly1305Template()
focal_class.identifier: chaCha20Poly1305Template
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate chaCha20Poly1305Template()
focal_class.class_method_signature: ChaCha20Poly1305KeyManager.rawChaCha20Poly1305Template()
focal_class.full_signature: public static final KeyTemplate rawChaCha20Poly1305Template()
focal_class.identifier: rawChaCha20Poly1305Template
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate rawChaCha20Poly1305Template()
focal_class.superclass: extends KeyTypeManager<ChaCha20Poly1305Key>
focal_method.body: public static final KeyTemplate rawChaCha20Poly1305Template() {
      return KeyTemplate.create(
          new ChaCha20Poly1305KeyManager().getKeyType(),
          ChaCha20Poly1305KeyFormat.getDefaultInstance().toByteArray(),
          KeyTemplate.OutputPrefixType.RAW);
    }
focal_method.class_method_signature: ChaCha20Poly1305KeyManager.rawChaCha20Poly1305Template()
focal_method.full_signature: public static final KeyTemplate rawChaCha20Poly1305Template()
focal_method.identifier: rawChaCha20Poly1305Template
focal_method.invocations: create getKeyType toByteArray getDefaultInstance
focal_method.modifiers: public static final
focal_method.parameters: ()
focal_method.return: KeyTemplate
focal_method.signature: KeyTemplate rawChaCha20Poly1305Template()