Bouncy Castle Cryptography Library 1.60

org.bouncycastle.openssl
Interface PEMDecryptor


public interface PEMDecryptor

Base interface for decryption operations.


Method Summary
 byte[] decrypt(byte[] data, byte[] iv)
          Decrypt the passed in data using the associated IV and the decryptor's key state.
 

Method Detail

decrypt

public 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.

Bouncy Castle Cryptography Library 1.60