org.apache.commons.ssl.asn1
public abstract class ASN1Encodable extends Object implements DEREncodable
Constructor and Description |
---|
ASN1Encodable() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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(String encoding) |
int |
hashCode() |
abstract DERObject |
toASN1Object() |
public static final String DER
public static final String BER
public ASN1Encodable()
public byte[] getEncoded() throws IOException
IOException
public byte[] getEncoded(String encoding) throws IOException
IOException
public byte[] getDEREncoded()
public DERObject getDERObject()
getDERObject
in interface DEREncodable
public abstract DERObject toASN1Object()