Package org.bouncycastle.asn1
Class BEROutputStream
java.lang.Object
org.bouncycastle.asn1.ASN1OutputStream
org.bouncycastle.asn1.DEROutputStream
org.bouncycastle.asn1.BEROutputStream
A class which writes indefinite and definite length objects. Objects which specify DER will be encoded accordingly, but DL or BER
objects will be encoded as defined.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bouncycastle.asn1.DEROutputStream
writeObject
Methods inherited from class org.bouncycastle.asn1.ASN1OutputStream
close, flush, writeNull
-
Constructor Details
-
BEROutputStream
Base constructor.- Parameters:
os
- target output stream.
-
-
Method Details
-
writeObject
Write out an ASN.1 object.- Parameters:
obj
- the object to be encoded.- Throws:
IOException
- if there is an issue on encoding or output of the object.
-