Class OpenPGPMessageInputStream

java.lang.Object
java.io.InputStream
org.bouncycastle.openpgp.api.OpenPGPMessageInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class OpenPGPMessageInputStream extends InputStream
An InputStream that processes an OpenPGP message. Its contents are the plaintext from the messages LiteralData packet. You can get information about the message (signatures, encryption method, message metadata) by reading ALL data from the stream, closing it with close() and then retrieving a OpenPGPMessageInputStream.Result object by calling getResult().