public class Pkcs7Encryptor extends Encryptor
| Constructor and Description |
|---|
Pkcs7Encryptor() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encrypt(byte[] plaintext)
Encrypts the given byte array, returning the encrypted bytes.
|
boolean |
initialise(Object... parameters)
Initialises the object and prepares it for signing.
|
public boolean initialise(Object... parameters) throws CertificateLoaderException
initialise in class Encryptorparameters - can be one of the following options:CertificateLoaderExceptionEncryptor.initialise(java.lang.Object[])public byte[] encrypt(byte[] plaintext)
throws CryptoException
Encryptorencrypt in class Encryptorplaintext - the plain text data to be encrypted.CryptoExceptionEncryptor.encrypt(byte[])Copyright © 2012-2014 Andrea Funtò. See here for terms and conditions.