Top Description Methods
org.bouncycastle.openssl

public Interface PEMDecryptor


Base interface for decryption operations.

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

the decrypted data.
decrypt
(byte[]
the encrypted data
data
,
byte[]
the initialisation vector associated with the decryption.
iv
)

Decrypt the passed in data using the associated IV and the decryptor's key state.

Method Detail

decryptback to summary
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:byte[]

the encrypted data

iv:byte[]

the initialisation vector associated with the decryption.

Returns:byte[]

the decrypted data.

Exceptions
PEMException:
in the event of an issue.