Class BERGenerator
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Generator
org.gudy.bouncycastle.asn1.BERGenerator
- Direct Known Subclasses:
BEROctetStringGenerator, BERSequenceGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate intFields inherited from class ASN1Generator
_out -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBERGenerator(OutputStream out) BERGenerator(OutputStream out, int tagNo, boolean isExplicit) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidwriteBERBody(InputStream contentStream) protected voidprotected voidwriteBERHeader(int tag) private voidwriteHdr(int tag)
-
Field Details
-
_tagged
private boolean _tagged -
_isExplicit
private boolean _isExplicit -
_tagNo
private int _tagNo
-
-
Constructor Details
-
BERGenerator
-
BERGenerator
-
-
Method Details
-
getRawOutputStream
- Specified by:
getRawOutputStreamin classASN1Generator
-
writeHdr
- Throws:
IOException
-
writeBERHeader
- Throws:
IOException
-
writeBERBody
- Throws:
IOException
-
writeBEREnd
- Throws:
IOException
-