Package org.bouncycastle.asn1
Class ASN1Generator
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Generator
-
- Direct Known Subclasses:
BERGenerator
,DERGenerator
public abstract class ASN1Generator extends Object
Basic class for streaming generators.
-
-
Field Summary
Fields Modifier and Type Field Description protected OutputStream
_out
-
Constructor Summary
Constructors Constructor Description ASN1Generator(OutputStream out)
Base constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract OutputStream
getRawOutputStream()
Return the actual stream object encodings are written to.
-
-
-
Field Detail
-
_out
protected OutputStream _out
-
-
Constructor Detail
-
ASN1Generator
public ASN1Generator(OutputStream out)
Base constructor.- Parameters:
out
- the end output stream that object encodings are written to.
-
-
Method Detail
-
getRawOutputStream
public abstract OutputStream getRawOutputStream()
Return the actual stream object encodings are written to.- Returns:
- the stream that is directly encoded to.
-
-