PEMDecryptor (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.openssl

## Interface PEMDecryptor

-     public interface PEMDecryptor

  Base interface for decryption operations.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `decrypt(byte[] data, byte[] iv)` Decrypt the passed in data using the associated IV and the decryptor's key state.

- - ### Method Detail

    - #### decrypt

          byte[] decrypt(byte[] data,
                       byte[] iv)
                         throws PEMException

      Decrypt the passed in data using the associated IV and the decryptor's key state.
      Parameters:
        `data` - the encrypted data
        `iv` - the initialisation vector associated with the decryption.
      Returns:
        the decrypted data.
      Throws:
        `PEMException` - in the event of an issue.