|
Bouncy Castle Cryptography Library 1.64 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1ApplicationSpecific
Base class for an ASN.1 ApplicationSpecific object
Field Summary | |
protected boolean |
isConstructed
|
protected byte[] |
octets
|
protected int |
tag
|
Method Summary | |
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. |
java.lang.String |
toString()
|
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive |
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final boolean isConstructed
protected final int tag
protected final byte[] octets
Method Detail |
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
public java.lang.String toString()
|
Bouncy Castle Cryptography Library 1.64 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |