org.apache.commons.ssl.asn1
Class DERGenerator
java.lang.Object
org.apache.commons.ssl.asn1.ASN1Generator
org.apache.commons.ssl.asn1.DERGenerator
- Direct Known Subclasses:
- DERSequenceGenerator
public abstract class DERGenerator
- 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
DERGenerator
protected DERGenerator(OutputStream out)
DERGenerator
public DERGenerator(OutputStream out,
int tagNo,
boolean isExplicit)
writeLength
private void writeLength(OutputStream out,
int length)
throws IOException
- Throws:
IOException
writeDEREncoded
void writeDEREncoded(OutputStream out,
int tag,
byte[] bytes)
throws IOException
- Throws:
IOException
writeDEREncoded
void writeDEREncoded(int tag,
byte[] bytes)
throws IOException
- Throws:
IOException
writeDEREncoded
void writeDEREncoded(OutputStream out,
int tag,
InputStream in)
throws IOException
- Throws:
IOException