org.bouncycastle.openpgp
Class PGPPBEEncryptedData
- SymmetricKeyAlgorithmTags
public class PGPPBEEncryptedData
A password based encryption object.
AES_128 , AES_192 , AES_256 , BLOWFISH , CAST5 , DES , IDEA , NULL , SAFER , TRIPLE_DES , TWOFISH |
InputStream | getDataStream(char[] passPhrase, String provider) - Return the decrypted input stream, using the passed in passPhrase.
|
InputStream | getInputStream() - Return the raw input stream for the data stream.
|
getDataStream
public InputStream getDataStream(char[] passPhrase,
String provider)
throws PGPException,
NoSuchProviderException
Return the decrypted input stream, using the passed in passPhrase.
passPhrase
- provider
-
- InputStream
PGPException
-
getInputStream
public InputStream getInputStream()
Return the raw input stream for the data stream.
- getInputStream in interface PGPEncryptedData
- InputStream