org.bouncycastle.bcpg
Class BCPGInputStream
InputStream
org.bouncycastle.bcpg.BCPGInputStream
- PacketTags
public class BCPGInputStream
extends InputStream
reader for PGP objects
COMPRESSED_DATA , EXPERIMENTAL_1 , EXPERIMENTAL_2 , EXPERIMENTAL_3 , EXPERIMENTAL_4 , LITERAL_DATA , MARKER , MOD_DETECTION_CODE , ONE_PASS_SIGNATURE , PUBLIC_KEY , PUBLIC_KEY_ENC_SESSION , PUBLIC_SUBKEY , RESERVED , SECRET_KEY , SECRET_SUBKEY , SIGNATURE , SYMMETRIC_KEY_ENC , SYMMETRIC_KEY_ENC_SESSION , SYM_ENC_INTEGRITY_PRO , TRUST , USER_ATTRIBUTE , USER_ID |
BCPGInputStream
public BCPGInputStream(InputStream in)
available
public int available()
throws IOException
close
public void close()
throws IOException
nextPacketTag
public int nextPacketTag()
throws IOException
returns the nest packet tag in the stream.
read
public int read()
throws IOException
readFully
public void readFully(byte[] buf)
throws IOException
readFully
public void readFully(byte[] buf,
int off,
int len)
throws IOException
readPacket
public Packet readPacket()
throws IOException