org.bouncycastle.asn1

Class ASN1Object

public abstract class ASN1Object extends DERObject

Method Summary
booleanequals(Object o)
static ASN1ObjectfromByteArray(byte[] data)
Create a base ASN.1 object from a byte stream.
abstract inthashCode()

Method Detail

equals

public final boolean equals(Object o)

fromByteArray

public static ASN1Object fromByteArray(byte[] data)
Create a base ASN.1 object from a byte stream.

Parameters: data the byte stream to parse.

Returns: the base ASN.1 object represented by the byte stream.

Throws: IOException if there is a problem parsing the data.

hashCode

public abstract int hashCode()