org.apache.commons.ssl.asn1
Class BERGenerator
java.lang.Object
org.apache.commons.ssl.asn1.ASN1Generator
org.apache.commons.ssl.asn1.BERGenerator
- Direct Known Subclasses:
- BEROctetStringGenerator, BERSequenceGenerator
public class BERGenerator
- extends ASN1Generator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_tagged
private boolean _tagged
_isExplicit
private boolean _isExplicit
_tagNo
private int _tagNo
BERGenerator
protected BERGenerator(OutputStream out)
BERGenerator
public BERGenerator(OutputStream out,
int tagNo,
boolean isExplicit)
getRawOutputStream
public OutputStream getRawOutputStream()
- Specified by:
getRawOutputStream
in class ASN1Generator
writeHdr
private void writeHdr(int tag)
throws IOException
- Throws:
IOException
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