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 byte[] getEncoded()
throws java.io.IOException
java.io.IOExceptionpublic byte[] getEncoded(java.lang.String encoding)
throws java.io.IOException
java.io.IOExceptionpublic byte[] getDEREncoded()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic DERObject getDERObject()
getDERObject in interface DEREncodablepublic abstract DERObject toASN1Object()
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.