org.bouncycastle.bcpg
public class BCPGInputStream extends InputStream implements PacketTags
| Constructor Summary | |
|---|---|
| BCPGInputStream(InputStream in) | |
| Method Summary | |
|---|---|
| int | available() |
| void | close() |
| int | nextPacketTag()
returns the next packet tag in the stream.
|
| int | read() |
| int | read(byte[] buf, int off, int len) |
| void | readFully(byte[] buf, int off, int len) |
| void | readFully(byte[] buf) |
| Packet | readPacket() |
Returns: the tag number.
Throws: IOException