public class PGPDecryptor extends AbstractPGPProcessor
_log| Constructor and Description |
|---|
PGPDecryptor()
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decryptBytes(byte[] encodedData,
File privateKeyringFile,
String passPhrase) |
byte[] |
decryptBytes(byte[] encodedData,
InputStream privateKeyringStream,
String passPhrase) |
void |
decryptStream(InputStream encryptedStream,
OutputStream decryptedStream,
File privateKeyFile,
char[] passphrase) |
void |
decryptStream(InputStream encryptedStream,
OutputStream decryptedStream,
InputStream privateKeyStream,
char[] passphrase) |
public byte[] decryptBytes(byte[] encodedData,
File privateKeyringFile,
String passPhrase)
throws IOException,
KeyringException,
org.bouncycastle.openpgp.PGPException,
NoSuchProviderException
IOExceptionKeyringExceptionorg.bouncycastle.openpgp.PGPExceptionNoSuchProviderExceptionpublic byte[] decryptBytes(byte[] encodedData,
InputStream privateKeyringStream,
String passPhrase)
throws IOException,
KeyringException,
org.bouncycastle.openpgp.PGPException,
NoSuchProviderException
IOExceptionKeyringExceptionorg.bouncycastle.openpgp.PGPExceptionNoSuchProviderExceptionpublic void decryptStream(InputStream encryptedStream, OutputStream decryptedStream, File privateKeyFile, char[] passphrase) throws IOException, KeyringException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOExceptionKeyringExceptionorg.bouncycastle.openpgp.PGPExceptionNoSuchProviderExceptionpublic void decryptStream(InputStream encryptedStream, OutputStream decryptedStream, InputStream privateKeyStream, char[] passphrase) throws IOException, KeyringException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOExceptionKeyringExceptionorg.bouncycastle.openpgp.PGPExceptionNoSuchProviderExceptionCopyright © 2014. All rights reserved.