org.bouncycastle.openpgp
public abstract class PGPEncryptedData extends Object implements SymmetricKeyAlgorithmTags
| Nested Class Summary | |
|---|---|
| protected class | PGPEncryptedData.TruncatedStream |
| Method Summary | |
|---|---|
| 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.
|
Returns: InputStream
Returns: true if there is a modification detection code package associated with this stream
Returns: true if the message verifies, false otherwise.
Throws: PGPException if the message is not integrity protected.