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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStreamgetRawOutputStream()protected voidwriteBERBody(InputStream contentStream)protected voidwriteBEREnd()protected voidwriteBERHeader(int tag)
-
-
-
Constructor Detail
-
BERGenerator
protected BERGenerator(OutputStream out)
-
BERGenerator
public BERGenerator(OutputStream out, int tagNo, boolean isExplicit)
-
-
Method Detail
-
getRawOutputStream
public OutputStream getRawOutputStream()
- Specified by:
getRawOutputStreamin classASN1Generator
-
writeBERHeader
protected void writeBERHeader(int tag) throws IOException- Throws:
IOException
-
writeBERBody
protected void writeBERBody(InputStream contentStream) throws IOException
- Throws:
IOException
-
writeBEREnd
protected void writeBEREnd() throws IOException- Throws:
IOException
-
-