org.bouncycastle.bcpg
Class ArmoredOutputStream
OutputStream
org.bouncycastle.bcpg.ArmoredOutputStream
public class ArmoredOutputStream
extends OutputStream
Basic output stream.
ArmoredOutputStream
public ArmoredOutputStream(OutputStream out)
beginClearText
public void beginClearText(int hashAlgorithm)
throws IOException
Start a clear text signed message.
hashAlgorithm
-
close
public void close()
throws IOException
Note: close does nor close the underlying stream. So it is possible to write
multiple objects using armoring to a single stream.
endClearText
public void endClearText()
flush
public void flush()
throws IOException
write
public void write(int b)
throws IOException