public class PGPPBEEncryptedData extends PGPEncryptedData
PBE encrypted data objects can be decrypted
using a PBEDataDecryptorFactory.
PGPEncryptedData.TruncatedStreamAES_128, AES_192, AES_256, BLOWFISH, CAMELLIA_128, CAMELLIA_192, CAMELLIA_256, CAST5, DES, IDEA, NULL, SAFER, TRIPLE_DES, TWOFISH| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getDataStream(PBEDataDecryptorFactory dataDecryptorFactory)
Open an input stream which will provide the decrypted data protected by this object.
|
int |
getSymmetricAlgorithm(PBEDataDecryptorFactory dataDecryptorFactory)
Return the symmetric key algorithm required to decrypt the data protected by this object.
|
getInputStream, isIntegrityProtected, verifypublic int getSymmetricAlgorithm(PBEDataDecryptorFactory dataDecryptorFactory) throws PGPException
dataDecryptorFactory - decryptor factory to use to recover the session data.encryption algorithm used to
encrypt this object.PGPException - if the session data cannot be recovered.public java.io.InputStream getDataStream(PBEDataDecryptorFactory dataDecryptorFactory) throws PGPException
dataDecryptorFactory - decryptor factory to use to recover the session data and provide
the stream.PGPException - if the session data cannot be recovered or the stream cannot be created.