Package org.bouncycastle.asn1
Class ASN1OutputStream
java.lang.Object
org.bouncycastle.asn1.ASN1OutputStream
- Direct Known Subclasses:
BEROutputStream
,DEROutputStream
Stream that produces output based on the default encoding for the passed in objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static ASN1OutputStream
create
(OutputStream out) static ASN1OutputStream
create
(OutputStream out, String encoding) void
flush()
protected void
Deprecated.Will be removed.void
writeObject
(ASN1Encodable obj) void
writeObject
(ASN1Primitive primitive)
-
Constructor Details
-
ASN1OutputStream
Deprecated.Usecreate(OutputStream)
instead.
-
-
Method Details
-
create
-
create
-
writeNull
Deprecated.Will be removed.- Throws:
IOException
-
writeObject
- Throws:
IOException
-
writeObject
- Throws:
IOException
-
close
- Throws:
IOException
-
flush
- Throws:
IOException
-
create(OutputStream)
instead.