Package org.bouncycastle.asn1
Class BERGenerator
java.lang.Object
org.bouncycastle.asn1.ASN1Generator
org.bouncycastle.asn1.BERGenerator
- Direct Known Subclasses:
BEROctetStringGenerator
public class BERGenerator extends ASN1Generator
-
Field Summary
Fields inherited from class org.bouncycastle.asn1.ASN1Generator
_out -
Constructor Summary
Constructors Modifier Constructor Description protectedBERGenerator(OutputStream out)BERGenerator(OutputStream out, int tagNo, boolean isExplicit) -
Method Summary
Modifier and Type Method Description OutputStreamgetRawOutputStream()protected voidwriteBERBody(InputStream contentStream)protected voidwriteBEREnd()protected voidwriteBERHeader(int tag)
-
Constructor Details
-
BERGenerator
-
BERGenerator
-
-
Method Details
-
getRawOutputStream
- Specified by:
getRawOutputStreamin classASN1Generator
-
writeBERHeader
- Throws:
IOException
-
writeBERBody
- Throws:
IOException
-
writeBEREnd
- Throws:
IOException
-