|
Bouncy Castle Cryptography 1.51 | ||||||||
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
public abstract class ASN1Primitive
Base class for ASN.1 primitive objects. These are the actual objects used to generate byte encodings.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
static ASN1Primitive |
fromByteArray(byte[] data)
Create a base ASN.1 object from a byte stream. |
abstract int |
hashCode()
|
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
---|
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ASN1Primitive fromByteArray(byte[] data) throws java.io.IOException
data
- the byte stream to parse.
java.io.IOException
- if there is a problem parsing the data.public final boolean equals(java.lang.Object o)
equals
in class ASN1Object
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public abstract int hashCode()
hashCode
in class ASN1Object
|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |