org.bouncycastle.asn1

Class BERGenerator

Known Direct Subclasses:
BEROctetStringGenerator, BERSequenceGenerator

public class BERGenerator
extends ASN1Generator

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Generator

_out

Constructor Summary

BERGenerator(OutputStream out)
BERGenerator(OutputStream out, int tagNo, boolean isExplicit)

Method Summary

OutputStream
getRawOutputStream()
protected void
writeBERBody(InputStream contentStream)
protected void
writeBEREnd()
protected void
writeBERHeader(int tag)

Methods inherited from class org.bouncycastle.asn1.ASN1Generator

getRawOutputStream

Constructor Details

BERGenerator

protected BERGenerator(OutputStream out)

BERGenerator

public BERGenerator(OutputStream out,
                    int tagNo,
                    boolean isExplicit)

Method Details

getRawOutputStream

public OutputStream getRawOutputStream()
Overrides:
getRawOutputStream in interface ASN1Generator

writeBERBody

protected void writeBERBody(InputStream contentStream)
            throws IOException

writeBEREnd

protected void writeBEREnd()
            throws IOException

writeBERHeader

protected void writeBERHeader(int tag)
            throws IOException