Top Description Constructors Methods
org.bouncycastle.asn1

public Class BEROutputStream

extends DEROutputStream
Class Inheritance
Imports
java.io.IOException, .OutputStream

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

AccessConstructor and Description
public
BEROutputStream(OutputStream
target output stream.
os
)

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public void
writeObject(Object
the object to be encoded.
obj
)

Write out an ASN.1 object.

Inherited from org.bouncycastle.asn1.DEROutputStream:
getDERSubStreamgetDLSubStreamwriteObject

Constructor Detail

BEROutputStreamback to summary
public BEROutputStream(OutputStream os)

Base constructor.

Parameters
os:OutputStream

target output stream.

Method Detail

writeObjectback to summary
public void writeObject(Object obj) throws IOException

Write out an ASN.1 object.

Parameters
obj:Object

the object to be encoded.

Exceptions
IOException:
if there is an issue on encoding or output of the object.