public class DERApplicationSpecific extends DERObject
Modifier and Type | Field and Description |
---|---|
private byte[] |
octets |
private int |
tag |
APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING
Constructor and Description |
---|
DERApplicationSpecific(int tag,
byte[] octets) |
DERApplicationSpecific(int tag,
DEREncodable object) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
encode(DEROutputStream out) |
int |
getApplicationTag() |
byte[] |
getContents() |
DERObject |
getObject() |
boolean |
isConstructed() |
getDERObject
public DERApplicationSpecific(int tag, byte[] octets)
public DERApplicationSpecific(int tag, DEREncodable object) throws java.io.IOException
java.io.IOException
public boolean isConstructed()
public byte[] getContents()
public int getApplicationTag()
public DERObject getObject() throws java.io.IOException
java.io.IOException
void encode(DEROutputStream out) throws java.io.IOException