org.bouncycastle.asn1

Class DEROutputStream

Implemented Interfaces:
DERTags
Known Direct Subclasses:
ASN1OutputStream, BEROutputStream

public class DEROutputStream
extends FilterOutputStream
implements DERTags

Fields inherited from interface org.bouncycastle.asn1.DERTags

APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERALIZED_TIME, GENERAL_STRING, 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)

Constructor Details

DEROutputStream

public DEROutputStream(OutputStream os)

Method Details

write

public void write(byte[] buf)
            throws IOException

write

public void write(byte[] buf,
                  int offSet,
                  int len)
            throws IOException

writeNull

protected void writeNull()
            throws IOException

writeObject

public void writeObject(Object obj)
            throws IOException