Bouncy Castle Cryptography 1.25

org.bouncycastle.bcpg
Class ArmoredOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.bouncycastle.bcpg.ArmoredOutputStream

public class ArmoredOutputStream
extends java.io.OutputStream

Basic output stream.


Constructor Summary
ArmoredOutputStream(java.io.OutputStream out)
           
 
Method Summary
 void beginClearText(int hashAlgorithm)
          Start a clear text signed message.
 void close()
           
 void endClearText()
           
 void flush()
           
 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

ArmoredOutputStream

public ArmoredOutputStream(java.io.OutputStream out)
Method Detail

beginClearText

public void beginClearText(int hashAlgorithm)
                    throws java.io.IOException
Start a clear text signed message.

Parameters:
hashAlgorithm -
Throws:
java.io.IOException

endClearText

public void endClearText()

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

Bouncy Castle Cryptography 1.25