public abstract class PGPEncryptedData extends java.lang.Object implements SymmetricKeyAlgorithmTags
Modifier and Type | Class and Description |
---|---|
protected class |
PGPEncryptedData.TruncatedStream |
Modifier and Type | Method and Description |
---|---|
java.io.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.
|
public java.io.InputStream getInputStream()
public boolean isIntegrityProtected()
public boolean verify() throws PGPException, java.io.IOException
PGPException
- if the message is not integrity protected.java.io.IOException