Package org.bouncycastle.asn1
Class ASN1OutputStream
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1OutputStream
-
- Direct Known Subclasses:
DEROutputStream,DLOutputStream
public class ASN1OutputStream extends Object
Stream that produces output based on the default encoding for the passed in objects.
-
-
Constructor Summary
Constructors Constructor Description ASN1OutputStream(OutputStream os)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()protected voidwriteNull()voidwriteObject(ASN1Encodable obj)
-
-
-
Constructor Detail
-
ASN1OutputStream
public ASN1OutputStream(OutputStream os)
-
-
Method Detail
-
writeNull
protected void writeNull() throws IOException- Throws:
IOException
-
writeObject
public void writeObject(ASN1Encodable obj) throws IOException
- Throws:
IOException
-
close
public void close() throws IOException- Throws:
IOException
-
flush
public void flush() throws IOException- Throws:
IOException
-
-