org.bouncycastle.openpgp

Class PGPPBEEncryptedData

public class PGPPBEEncryptedData extends PGPEncryptedData

A password based encryption object.
Method Summary
InputStreamgetDataStream(char[] passPhrase, String provider)
Return the decrypted input stream, using the passed in passPhrase.
InputStreamgetInputStream()
Return the raw input stream for the data stream.

Method Detail

getDataStream

public InputStream getDataStream(char[] passPhrase, String provider)
Return the decrypted input stream, using the passed in passPhrase.

Parameters: passPhrase provider

Returns: InputStream

Throws: PGPException NoSuchProviderException

getInputStream

public InputStream getInputStream()
Return the raw input stream for the data stream.

Returns: InputStream