src/main/java/com/amazonaws/encryptionsdk/internal/DecryptionHandler.java [358:388]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      final CommitmentPolicy commitmentPolicy,
      final SignaturePolicy signaturePolicy,
      final int maxEncryptedDataKeys)
      throws AwsCryptoException {
    return new DecryptionHandler(
        new CMMHandler(materialsManager),
        headers,
        commitmentPolicy,
        signaturePolicy,
        maxEncryptedDataKeys,
        Collections.emptyMap());
  }

  /**
   * Create a decryption handler using the provided materials manager and already parsed {@code
   * headers}.
   *
   * <p>Note the methods in the provided materials manager are used in decrypting the encrypted data
   * key parsed from the ciphertext headers.
   *
   * @param materialsManager the materials manager to use in decrypting the data key from the key
   *     blobs encoded in the provided ciphertext.
   * @param headers already parsed headers which will not be passed into {@link
   *     #processBytes(byte[], int, int, byte[], int)}
   * @param commitmentPolicy The commitment policy to enforce during decryption
   * @param signaturePolicy The signature policy to enforce during decryption
   * @param maxEncryptedDataKeys The maximum number of encrypted data keys to unwrap during
   *     decryption; zero indicates no maximum
   * @throws AwsCryptoException if the master key is null.
   */
  public static DecryptionHandler<?> create(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/com/amazonaws/encryptionsdk/internal/DecryptionHandler.java [391:421]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      final CommitmentPolicy commitmentPolicy,
      final SignaturePolicy signaturePolicy,
      final int maxEncryptedDataKeys)
      throws AwsCryptoException {
    return new DecryptionHandler(
        new CMMHandler(materialsManager),
        headers,
        commitmentPolicy,
        signaturePolicy,
        maxEncryptedDataKeys,
        Collections.emptyMap());
  }

  /**
   * Create a decryption handler using the provided materials manager and already parsed {@code
   * headers}.
   *
   * <p>Note the methods in the provided materials manager are used in decrypting the encrypted data
   * key parsed from the ciphertext headers.
   *
   * @param materialsManager the materials manager to use in decrypting the data key from the key
   *     blobs encoded in the provided ciphertext.
   * @param headers already parsed headers which will not be passed into {@link
   *     #processBytes(byte[], int, int, byte[], int)}
   * @param commitmentPolicy The commitment policy to enforce during decryption
   * @param signaturePolicy The signature policy to enforce during decryption
   * @param maxEncryptedDataKeys The maximum number of encrypted data keys to unwrap during
   *     decryption; zero indicates no maximum
   * @throws AwsCryptoException if the master key is null.
   */
  public static DecryptionHandler<?> create(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



