Package org.bouncycastle.openssl
Interface PEMDecryptor
- 
public interface PEMDecryptorBase interface for decryption operations. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 PEMExceptionDecrypt 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.
 
 - 
 
 -