test_class.declarator: KDF_KEY_SIZE = 16
test_class.modifier: private static final
test_class.original_string: private static final int KDF_KEY_SIZE = 16;
test_class.type: int
test_class.var_name: KDF_KEY_SIZE
test_class.declarator: AES_KEY_SIZE = 16
test_class.modifier: private static final
test_class.original_string: private static final int AES_KEY_SIZE = 16;
test_class.type: int
test_class.var_name: AES_KEY_SIZE
test_class.file: java_src/src/test/java/com/google/crypto/tink/streamingaead/StreamingAeadFactoryTest.java
test_class.identifier: StreamingAeadFactoryTest
test_case.body: @Test
    public void testBasicAesGcmHkdfStreamingAead() throws Exception {
      byte[] keyValue = Random.randBytes(KDF_KEY_SIZE);
      int derivedKeySize = AES_KEY_SIZE;
      int ciphertextSegmentSize = 128;
      KeysetHandle keysetHandle =
          TestUtil.createKeysetHandle(
              TestUtil.createKeyset(
                  TestUtil.createKey(
                      TestUtil.createAesGcmHkdfStreamingKeyData(
                          keyValue, derivedKeySize, ciphertextSegmentSize),
                      42,
                      KeyStatusType.ENABLED,
                      OutputPrefixType.RAW)));
      StreamingAead streamingAead = StreamingAeadFactory.getPrimitive(keysetHandle);
      StreamingTestUtil.testEncryptionAndDecryption(streamingAead);
    }
test_case.class_method_signature: StreamingAeadFactoryTest.testBasicAesGcmHkdfStreamingAead()
test_case.full_signature: @Test public void testBasicAesGcmHkdfStreamingAead()
test_case.identifier: testBasicAesGcmHkdfStreamingAead
test_case.invocations: randBytes createKeysetHandle createKeyset createKey createAesGcmHkdfStreamingKeyData getPrimitive testEncryptionAndDecryption
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBasicAesGcmHkdfStreamingAead()
focal_class.file: java_src/src/main/java/com/google/crypto/tink/streamingaead/StreamingAeadFactory.java
focal_class.identifier: StreamingAeadFactory
focal_class.class_method_signature: StreamingAeadFactory.getPrimitive(KeysetHandle keysetHandle)
focal_class.full_signature: public static StreamingAead getPrimitive(KeysetHandle keysetHandle)
focal_class.identifier: getPrimitive
focal_class.modifiers: public static
focal_class.parameters: (KeysetHandle keysetHandle)
focal_class.return: StreamingAead
focal_class.signature: StreamingAead getPrimitive(KeysetHandle keysetHandle)
focal_class.class_method_signature: StreamingAeadFactory.getPrimitive(
        KeysetHandle keysetHandle,
        final KeyManager<StreamingAead> keyManager)
focal_class.full_signature: public static StreamingAead getPrimitive(
        KeysetHandle keysetHandle,
        final KeyManager<StreamingAead> keyManager)
focal_class.identifier: getPrimitive
focal_class.modifiers: public static
focal_class.parameters: (
        KeysetHandle keysetHandle,
        final KeyManager<StreamingAead> keyManager)
focal_class.return: StreamingAead
focal_class.signature: StreamingAead getPrimitive(
        KeysetHandle keysetHandle,
        final KeyManager<StreamingAead> keyManager)
focal_method.body: public static StreamingAead getPrimitive(KeysetHandle keysetHandle)
        throws GeneralSecurityException {
      return getPrimitive(keysetHandle, /* keyManager= */ null);
    }
focal_method.class_method_signature: StreamingAeadFactory.getPrimitive(KeysetHandle keysetHandle)
focal_method.full_signature: public static StreamingAead getPrimitive(KeysetHandle keysetHandle)
focal_method.identifier: getPrimitive
focal_method.invocations: getPrimitive
focal_method.modifiers: public static
focal_method.parameters: (KeysetHandle keysetHandle)
focal_method.return: StreamingAead
focal_method.signature: StreamingAead getPrimitive(KeysetHandle keysetHandle)