public interface PEMDecryptor
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.
|
byte[] decrypt(byte[] data, byte[] iv) throws PEMException
data
- the encrypted dataiv
- the initialisation vector associated with the decryption.PEMException
- in the event of an issue.