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