org.bouncycastle.asn1
Class DERApplicationSpecific
- DEREncodable, DERTags
public class DERApplicationSpecific
Base class for an application specific object
APPLICATION , BIT_STRING , BMP_STRING , BOOLEAN , CONSTRUCTED , ENUMERATED , EXTERNAL , GENERALIZED_TIME , GENERAL_STRING , 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 |
DERApplicationSpecific
public DERApplicationSpecific(boolean explicit,
int tag,
DEREncodable object)
throws IOException
DERApplicationSpecific
public DERApplicationSpecific(int tag,
byte[] octets)
DERApplicationSpecific
public DERApplicationSpecific(int tag,
DEREncodable object)
throws IOException
getApplicationTag
public int getApplicationTag()
getContents
public byte[] getContents()
getObject
public DERObject getObject()
throws IOException
getObject
public DERObject getObject(int derTagNo)
throws IOException
Return the enclosed object assuming implicit tagging.
derTagNo
- the type tag that should be applied to the object's contents.
isConstructed
public boolean isConstructed()