| java.lang.Object java.io.OutputStream org.bouncycastle.bcpg.BCPGOutputStream
BCPGOutputStream | public BCPGOutputStream(OutputStream out, int tag) throws IOException(Code) | | Create a stream representing an old style partial object.
Parameters: tag - the packet tag for the object. |
BCPGOutputStream | public BCPGOutputStream(OutputStream out, int tag, long length, boolean oldFormat) throws IOException(Code) | | Create a stream representing a general packet.
Parameters: out - Parameters: tag - Parameters: length - Parameters: oldFormat - throws: IOException - |
BCPGOutputStream | public BCPGOutputStream(OutputStream out, int tag, byte[] buffer) throws IOException(Code) | | Create a new style partial input stream buffered into chunks.
Parameters: out - output stream to write to. Parameters: tag - packet tag. Parameters: buffer - size of chunks making up the packet. throws: IOException - |
finish | public void finish() throws IOException(Code) | | Finish writing out the current packet without closing the underlying stream.
|
writePacket | void writePacket(int tag, byte[] body, boolean oldFormat) throws IOException(Code) | | |
|
|