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. |
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 dataiv - the initialisation vector associated with the decryption.
- Returns:
- the decrypted data.
- Throws:
PEMException - in the event of an issue.