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
IOExceptionpublic byte[] getEncoded(String encoding) throws IOException
IOExceptionpublic byte[] getDEREncoded()
public DERObject getDERObject()
getDERObject in interface DEREncodablepublic abstract DERObject toASN1Object()