1 package org.bouncycastle.asn1;
5 public class ASN1OutputStream
6 extends DEROutputStream
8 public ASN1OutputStream(
14 public void writeObject(
22 else if (obj instanceof DERObject)
24 ((DERObject)obj).encode(this);
26 else if (obj instanceof DEREncodable)
28 ((DEREncodable)obj).getDERObject().encode(this);
32 throw new IOException("object not ASN1Encodable");