FileDocCategorySizeDatePackage
BEROutputStream.javaAPI DocAzureus 3.0.3.4728Tue Jun 08 05:12:56 BST 2004org.bouncycastle.asn1

BEROutputStream

public class BEROutputStream extends DEROutputStream

Fields Summary
Constructors Summary
public BEROutputStream(OutputStream os)

        super(os);
    
Methods Summary
public voidwriteObject(java.lang.Object obj)

        if (obj == null)
        {
            writeNull();
        }
        else if (obj instanceof DERObject)
        {
            ((DERObject)obj).encode(this);
        }
        else if (obj instanceof DEREncodable)
        {
            ((DEREncodable)obj).getDERObject().encode(this);
        }
        else
        {
            throw new IOException("object not BEREncodable");
        }