Package org.bouncycastle.openssl
Interface PEMDecryptor
public interface PEMDecryptor
Base interface for decryption operations.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]decrypt(byte[] data, byte[] iv) Decrypt the passed in data using the associated IV and the decryptor's key state.
-
Method Details
-
decrypt
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.
-