|
Bouncy Castle Cryptography Library 1.45 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.bouncycastle.bcpg.ArmoredOutputStream
public class ArmoredOutputStream
Basic output stream.
Constructor Summary | |
---|---|
ArmoredOutputStream(java.io.OutputStream out)
|
|
ArmoredOutputStream(java.io.OutputStream out,
java.util.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(java.lang.String name,
java.lang.String value)
Set an additional header entry. |
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
---|
write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArmoredOutputStream(java.io.OutputStream out)
public ArmoredOutputStream(java.io.OutputStream out, java.util.Hashtable headers)
Method Detail |
---|
public void setHeader(java.lang.String name, java.lang.String value)
name
- the name of the header entry.value
- the value of the header entry.public void resetHeaders()
public void beginClearText(int hashAlgorithm) throws java.io.IOException
hashAlgorithm
-
java.io.IOException
public void endClearText()
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
|
Bouncy Castle Cryptography Library 1.45 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |