Package org.bouncycastle.asn1
Class BERGenerator
java.lang.Object
org.bouncycastle.asn1.ASN1Generator
org.bouncycastle.asn1.BERGenerator
- Direct Known Subclasses:
BEROctetStringGenerator
,BERSequenceGenerator
Base class for generators for indefinite-length structures.
-
Field Summary
Fields inherited from class org.bouncycastle.asn1.ASN1Generator
_out
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BERGenerator
(OutputStream out) protected
BERGenerator
(OutputStream out, int tagNo, boolean isExplicit) -
Method Summary
Modifier and TypeMethodDescriptionReturn the actual stream object encodings are written to.protected void
protected void
writeBERHeader
(int tag)
-
Constructor Details
-
BERGenerator
-
BERGenerator
-
-
Method Details
-
getRawOutputStream
Description copied from class:ASN1Generator
Return the actual stream object encodings are written to.- Specified by:
getRawOutputStream
in classASN1Generator
- Returns:
- the stream that is directly encoded to.
-
writeBERHeader
- Throws:
IOException
-
writeBEREnd
- Throws:
IOException
-