Package org.gudy.bouncycastle.asn1
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 boolean
private boolean
private int
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Generator
_out
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BERGenerator
(OutputStream out) BERGenerator
(OutputStream out, int tagNo, boolean isExplicit) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
writeBERBody
(InputStream contentStream) protected void
protected void
writeBERHeader
(int tag) private void
writeHdr
(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:
getRawOutputStream
in classASN1Generator
-
writeHdr
- Throws:
IOException
-
writeBERHeader
- Throws:
IOException
-
writeBERBody
- Throws:
IOException
-
writeBEREnd
- Throws:
IOException
-