public abstract class ASN1Encodable extends java.lang.Object implements DEREncodable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BER |
static java.lang.String |
DER |
Constructor and Description |
---|
ASN1Encodable() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
byte[] |
getDEREncoded()
Return the DER encoding of the object, null if the DER encoding can not be made.
|
DERObject |
getDERObject() |
byte[] |
getEncoded() |
byte[] |
getEncoded(java.lang.String encoding) |
int |
hashCode() |
abstract DERObject |
toASN1Object() |
public static final java.lang.String DER
public static final java.lang.String BER
public ASN1Encodable()
public byte[] getEncoded() throws java.io.IOException
java.io.IOException
public byte[] getEncoded(java.lang.String encoding) throws java.io.IOException
java.io.IOException
public byte[] getDEREncoded()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public DERObject getDERObject()
getDERObject
in interface DEREncodable
public abstract DERObject toASN1Object()