org.gudy.bouncycastle.asn1
Class BERGenerator

java.lang.Object
  extended by org.gudy.bouncycastle.asn1.ASN1Generator
      extended by org.gudy.bouncycastle.asn1.BERGenerator
Direct Known Subclasses:
BEROctetStringGenerator, BERSequenceGenerator

public class BERGenerator
extends ASN1Generator


Field Summary
 
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Generator
_out
 
Constructor Summary
protected 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BERGenerator

protected BERGenerator(OutputStream out)

BERGenerator

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

getRawOutputStream

public OutputStream getRawOutputStream()
Specified by:
getRawOutputStream in class ASN1Generator

writeBERHeader

protected void writeBERHeader(int tag)
                       throws IOException
Throws:
IOException

writeBERBody

protected void writeBERBody(InputStream contentStream)
                     throws IOException
Throws:
IOException

writeBEREnd

protected void writeBEREnd()
                    throws IOException
Throws:
IOException