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 ASN1Generatorprivate void writeHdr(int tag) throws IOException
IOExceptionprotected void writeBERHeader(int tag) throws IOException
IOExceptionprotected void writeBERBody(InputStream contentStream) throws IOException
IOExceptionprotected void writeBEREnd() throws IOException
IOException