public class PGPEncryptorBean extends LoggingClient
_log| Constructor and Description |
|---|
PGPEncryptorBean()
Class constructor
|
PGPEncryptorBean(PublicKeyringConfiguration publicKeyringConfigurator)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encryptBytes(byte[] toEncrypt) |
void |
encryptStream(InputStream toEncrypt,
OutputStream encrypted) |
public PGPEncryptorBean()
public PGPEncryptorBean(PublicKeyringConfiguration publicKeyringConfigurator)
publicKeyringConfigurator - public byte[] encryptBytes(byte[] toEncrypt)
throws IOException,
KeyringException,
org.bouncycastle.openpgp.PGPException,
NoSuchProviderException
IOExceptionKeyringExceptionorg.bouncycastle.openpgp.PGPExceptionNoSuchProviderExceptionpublic void encryptStream(InputStream toEncrypt, OutputStream encrypted) throws IOException, KeyringException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOExceptionKeyringExceptionorg.bouncycastle.openpgp.PGPExceptionNoSuchProviderExceptionCopyright © 2014. All rights reserved.