Class DERGenerator
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Generator
org.gudy.bouncycastle.asn1.DERGenerator
- Direct Known Subclasses:
DERSequenceGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate intFields inherited from class ASN1Generator
_out -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDERGenerator(OutputStream out) DERGenerator(OutputStream out, int tagNo, boolean isExplicit) -
Method Summary
Modifier and TypeMethodDescription(package private) voidwriteDEREncoded(int tag, byte[] bytes) (package private) voidwriteDEREncoded(OutputStream out, int tag, byte[] bytes) (package private) voidwriteDEREncoded(OutputStream out, int tag, InputStream in) private voidwriteLength(OutputStream out, int length) Methods inherited from class 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
-