@RestrictedApi(
      explanation = "Accessing parts of keys can produce unexpected incompatibilities, annotate the function with @AccessesPartialKey",
      link = "https://developers.google.com/tink/design/access_control#accessing_partial_keys",
      allowedOnPath = ".*Test\\.java",
      allowlistAnnotations = {AccessesPartialKey.class})
  public static AesCtrHmacStreamingKey create(
      AesCtrHmacStreamingParameters parameters, SecretBytes initialKeymaterial)
      throws GeneralSecurityException {

    if (parameters.getKeySizeBytes() != initialKeymaterial.size()) {
      throw new GeneralSecurityException("Key size mismatch");
    }
    return new AesCtrHmacStreamingKey(parameters, initialKeymaterial);
  }
Represents a StreamingAead functions.

<p>See https://developers.google.com/tink/streaming-aead/aes_gcm_hkdf_streaming.
java_src/src/main/java/com/google/crypto/tink/streamingaead/AesCtrHmacStreamingKey.java