Package org.gudy.bouncycastle.asn1
Class DERGenerator
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Generator
org.gudy.bouncycastle.asn1.DERGenerator
- Direct Known Subclasses:
DERSequenceGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private int
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Generator
_out
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DERGenerator
(OutputStream out) DERGenerator
(OutputStream out, int tagNo, boolean isExplicit) -
Method Summary
Modifier and TypeMethodDescription(package private) void
writeDEREncoded
(int tag, byte[] bytes) (package private) void
writeDEREncoded
(OutputStream out, int tag, byte[] bytes) (package private) void
writeDEREncoded
(OutputStream out, int tag, InputStream in) private void
writeLength
(OutputStream out, int length) Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Generator
getRawOutputStream
-
Field Details
-
_tagged
private boolean _tagged -
_isExplicit
private boolean _isExplicit -
_tagNo
private int _tagNo
-
-
Constructor Details
-
DERGenerator
-
DERGenerator
-
-
Method Details
-
writeLength
- Throws:
IOException
-
writeDEREncoded
- Throws:
IOException
-
writeDEREncoded
- Throws:
IOException
-
writeDEREncoded
- Throws:
IOException
-