com.lowagie.bc.asn1
Class DEROutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended bycom.lowagie.bc.asn1.DEROutputStream
All Implemented Interfaces:
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 com.lowagie.bc.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
(package private)  void writeEncoded(int tag, byte[] bytes)
           
private  void writeLength(int length)
           
protected  void writeNull()
           
 void writeObject(Object obj)
           
 
Methods inherited from class java.io.FilterOutputStream
close, flush, write, write, 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

writeLength

private void writeLength(int length)
                  throws IOException
Throws:
IOException

writeEncoded

void writeEncoded(int tag,
                  byte[] bytes)
            throws IOException
Throws:
IOException

writeNull

protected void writeNull()
                  throws IOException
Throws:
IOException

writeObject

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