public abstract class ASN1ApplicationSpecific extends ASN1Primitive
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
isConstructed  | 
protected byte[] | 
octets  | 
protected int | 
tag  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getApplicationTag()
Return the tag number associated with this object, 
 | 
byte[] | 
getContents()
Return the contents of this object as a byte[] 
 | 
static ASN1ApplicationSpecific | 
getInstance(java.lang.Object obj)
Return an ASN1ApplicationSpecific from the passed in object, which may be a byte array, or null. 
 | 
protected static int | 
getLengthOfHeader(byte[] data)  | 
ASN1Primitive | 
getObject()
Return the enclosed object assuming explicit tagging. 
 | 
ASN1Primitive | 
getObject(int derTagNo)
Return the enclosed object assuming implicit tagging. 
 | 
int | 
hashCode()  | 
boolean | 
isConstructed()
Return true if the object is marked as constructed, false otherwise. 
 | 
equals, fromByteArray, toASN1PrimitivegetEncoded, getEncoded, hasEncodedTagValue, toASN1Objectprotected final boolean isConstructed
protected final int tag
protected final byte[] octets
public static ASN1ApplicationSpecific getInstance(java.lang.Object obj)
obj - the object to be converted.protected static int getLengthOfHeader(byte[] data)
public boolean isConstructed()
public byte[] getContents()
public int getApplicationTag()
public ASN1Primitive getObject() throws java.io.IOException
java.io.IOException - if reconstruction fails.public ASN1Primitive getObject(int derTagNo) throws java.io.IOException
derTagNo - the type tag that should be applied to the object's contents.java.io.IOException - if reconstruction fails.public int hashCode()
hashCode in class ASN1Primitive