Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.asn1
Class ASN1Generator

java.lang.Object
  |
  +--org.bouncycastle.asn1.ASN1Generator
Direct Known Subclasses:
BERGenerator, DERGenerator

public abstract class ASN1Generator
extends java.lang.Object

Basic class for streaming generators.


Field Summary
protected  java.io.OutputStream _out
           
 
Constructor Summary
ASN1Generator(java.io.OutputStream out)
          Base constructor.
 
Method Summary
abstract  java.io.OutputStream getRawOutputStream()
          Return the actual stream object encodings are written to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_out

protected java.io.OutputStream _out
Constructor Detail

ASN1Generator

public ASN1Generator(java.io.OutputStream out)
Base constructor.
Parameters:
out - the end output stream that object encodings are written to.
Method Detail

getRawOutputStream

public abstract java.io.OutputStream getRawOutputStream()
Return the actual stream object encodings are written to.
Returns:
the stream that is directly encoded to.

Bouncy Castle Cryptography Library 1.77.0