org.bouncycastle.asn1
Class BERGenerator
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Generator
|
+--org.bouncycastle.asn1.BERGenerator
- Direct Known Subclasses:
- BEROctetStringGenerator, BERSequenceGenerator
- public abstract class BERGenerator
- extends ASN1Generator
Base class for generators for indefinite-length structures.
Constructor Summary |
protected |
BERGenerator(java.io.OutputStream out)
|
protected |
BERGenerator(java.io.OutputStream out,
int tagNo,
boolean isExplicit)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BERGenerator
protected BERGenerator(java.io.OutputStream out)
BERGenerator
protected BERGenerator(java.io.OutputStream out,
int tagNo,
boolean isExplicit)
getRawOutputStream
public java.io.OutputStream getRawOutputStream()
- Description copied from class:
ASN1Generator
- Return the actual stream object encodings are written to.
- Overrides:
getRawOutputStream
in class ASN1Generator
- Following copied from class:
org.bouncycastle.asn1.ASN1Generator
- Returns:
- the stream that is directly encoded to.
writeBERHeader
protected void writeBERHeader(int tag)
throws java.io.IOException
writeBEREnd
protected void writeBEREnd()
throws java.io.IOException