org.gudy.bouncycastle.asn1
Class DEROutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.gudy.bouncycastle.asn1.DEROutputStream
All Implemented Interfaces:
Closeable, Flushable, DERTags
Direct Known Subclasses:
ASN1OutputStream, BEROutputStream

public class DEROutputStream
extends FilterOutputStream
implements DERTags


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Fields inherited from interface org.gudy.bouncycastle.asn1.DERTags
APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING
 
Constructor Summary
DEROutputStream(OutputStream os)
           
 
Method Summary
 void write(byte[] buf)
           
 void write(byte[] buf, int offSet, int len)
           
protected  void writeNull()
           
 void writeObject(Object obj)
           
 
Methods inherited from class java.io.FilterOutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DEROutputStream

public DEROutputStream(OutputStream os)
Method Detail

writeNull

protected void writeNull()
                  throws IOException
Throws:
IOException

write

public void write(byte[] buf)
           throws IOException
Overrides:
write in class FilterOutputStream
Throws:
IOException

write

public void write(byte[] buf,
                  int offSet,
                  int len)
           throws IOException
Overrides:
write in class FilterOutputStream
Throws:
IOException

writeObject

public void writeObject(Object obj)
                 throws IOException
Throws:
IOException