Bouncy Castle Cryptography 1.30

org.bouncycastle.sasn1
Class BerGenerator

java.lang.Object
  |
  +--org.bouncycastle.sasn1.Asn1Generator
        |
        +--org.bouncycastle.sasn1.BerGenerator
Direct Known Subclasses:
BerOctetStringGenerator, BerSequenceGenerator

public class BerGenerator
extends Asn1Generator


Fields inherited from class org.bouncycastle.sasn1.Asn1Generator
_out
 
Constructor Summary
protected BerGenerator(java.io.OutputStream out)
           
  BerGenerator(java.io.OutputStream out, int tagNo, boolean isExplicit)
           
 
Method Summary
 java.io.OutputStream getRawOutputStream()
           
protected  void writeBerBody(java.io.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(java.io.OutputStream out)

BerGenerator

public BerGenerator(java.io.OutputStream out,
                    int tagNo,
                    boolean isExplicit)
Method Detail

getRawOutputStream

public java.io.OutputStream getRawOutputStream()
Overrides:
getRawOutputStream in class Asn1Generator

writeBerHeader

protected void writeBerHeader(int tag)
                       throws java.io.IOException

writeBerBody

protected void writeBerBody(java.io.InputStream contentStream)
                     throws java.io.IOException

writeBerEnd

protected void writeBerEnd()
                    throws java.io.IOException

Bouncy Castle Cryptography 1.30