DerObjectpublic class DerObject extends Asn1Object
Fields Summary |
---|
private byte[] | _content |
Constructors Summary |
---|
DerObject(int baseTag, int tagNumber, byte[] content)
super(baseTag, tagNumber, null);
this._content = content;
|
Methods Summary |
---|
void | encode(java.io.OutputStream out)
DerGenerator dGen = new BasicDerGenerator(out);
dGen.writeDerEncoded(_baseTag | _tagNumber, _content);
| public byte[] | getEncoded()
ByteArrayOutputStream bOut = new ByteArrayOutputStream();
this.encode(bOut);
return bOut.toByteArray();
| public java.io.InputStream | getRawContentStream()
return new ByteArrayInputStream(_content);
| public int | getTagNumber()
return _tagNumber;
|
|