org.apache.commons.ssl.asn1
public class BERGenerator extends ASN1Generator
Modifier and Type | Field and Description |
---|---|
private boolean |
_isExplicit |
private boolean |
_tagged |
private int |
_tagNo |
_out
Modifier | Constructor and Description |
---|---|
protected |
BERGenerator(OutputStream out) |
|
BERGenerator(OutputStream out,
int tagNo,
boolean isExplicit) |
Modifier and Type | Method and Description |
---|---|
OutputStream |
getRawOutputStream() |
protected void |
writeBERBody(InputStream contentStream) |
protected void |
writeBEREnd() |
protected void |
writeBERHeader(int tag) |
private void |
writeHdr(int tag) |
private boolean _tagged
private boolean _isExplicit
private int _tagNo
protected BERGenerator(OutputStream out)
public BERGenerator(OutputStream out, int tagNo, boolean isExplicit)
public OutputStream getRawOutputStream()
getRawOutputStream
in class ASN1Generator
private void writeHdr(int tag) throws IOException
IOException
protected void writeBERHeader(int tag) throws IOException
IOException
protected void writeBERBody(InputStream contentStream) throws IOException
IOException
protected void writeBEREnd() throws IOException
IOException