org.bouncycastle.openpgp
Class PGPEncryptedData
java.lang.Objectorg.bouncycastle.openpgp.PGPEncryptedData
- SymmetricKeyAlgorithmTags
public abstract class PGPEncryptedData
extends java.lang.Object
AES_128, AES_192, AES_256, BLOWFISH, CAST5, DES, IDEA, NULL, SAFER, TRIPLE_DES, TWOFISH |
InputStream | getInputStream()- Return the raw input stream for the data stream.
|
boolean | isIntegrityProtected()- Return true if the message is integrity protected.
|
boolean | verify()- Note: This can only be called after the message has been read.
|
getInputStream
public InputStream getInputStream()
Return the raw input stream for the data stream.
isIntegrityProtected
public boolean isIntegrityProtected()
Return true if the message is integrity protected.
- true if there is a modification detection code package associated with this stream
verify
public boolean verify()
throws PGPException,
IOException Note: This can only be called after the message has been read.
- true if the message verifies, false otherwise.