com.lowagie.bc.asn1
Class DERApplicationSpecific
java.lang.Object
com.lowagie.bc.asn1.DERObject
com.lowagie.bc.asn1.DERApplicationSpecific
- All Implemented Interfaces:
- DEREncodable, DERTags
- public class DERApplicationSpecific
- extends DERObject
Base class for an application specific object
Field Summary |
private byte[] |
octets
|
private int |
tag
|
Fields inherited from interface com.lowagie.bc.asn1.DERTags |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tag
private int tag
octets
private byte[] octets
DERApplicationSpecific
public DERApplicationSpecific(int tag,
byte[] octets)
DERApplicationSpecific
public DERApplicationSpecific(int tag,
DEREncodable object)
throws IOException
isConstructed
public boolean isConstructed()
getContents
public byte[] getContents()
getApplicationTag
public int getApplicationTag()
getObject
public DERObject getObject()
throws IOException
- Throws:
IOException
encode
void encode(DEROutputStream out)
throws IOException
- Specified by:
encode
in class DERObject
- Throws:
IOException