public abstract class DERGenerator extends ASN1Generator
Modifier and Type | Field and Description |
---|---|
private boolean |
_isExplicit |
private boolean |
_tagged |
private int |
_tagNo |
_out
Modifier | Constructor and Description |
---|---|
protected |
DERGenerator(OutputStream out) |
|
DERGenerator(OutputStream out,
int tagNo,
boolean isExplicit) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
writeDEREncoded(int tag,
byte[] bytes) |
(package private) void |
writeDEREncoded(OutputStream out,
int tag,
byte[] bytes) |
(package private) void |
writeDEREncoded(OutputStream out,
int tag,
InputStream in) |
private void |
writeLength(OutputStream out,
int length) |
getRawOutputStream
private boolean _tagged
private boolean _isExplicit
private int _tagNo
protected DERGenerator(OutputStream out)
public DERGenerator(OutputStream out, int tagNo, boolean isExplicit)
private void writeLength(OutputStream out, int length) throws IOException
IOException
void writeDEREncoded(OutputStream out, int tag, byte[] bytes) throws IOException
IOException
void writeDEREncoded(int tag, byte[] bytes) throws IOException
IOException
void writeDEREncoded(OutputStream out, int tag, InputStream in) throws IOException
IOException