org.bouncycastle.bcpg
public class ArmoredOutputStream extends OutputStream
Constructor Summary | |
---|---|
ArmoredOutputStream(OutputStream out) | |
ArmoredOutputStream(OutputStream out, Hashtable headers) |
Method Summary | |
---|---|
void | beginClearText(int hashAlgorithm)
Start a clear text signed message. |
void | close()
Note: close does nor close the underlying stream. |
void | endClearText() |
void | flush() |
void | resetHeaders()
Reset the headers to only contain a Version string. |
void | setHeader(String name, String value)
Set an additional header entry.
|
void | write(int b) |
Parameters: hashAlgorithm
Parameters: name the name of the header entry. value the value of the header entry.