public class EntrustEventVerCert extends java.lang.Object implements ASN1Type
EntrustEventVerCertSyntax ::= X509Certificate
entrustEventVerCert OBJECT-TYPE
SYNTAX EntrustEventVerCertSyntax
ACCESS read-write
STATUS mandatory
::= { 2 16 840 1 114027 50 2 }
| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid
The object identifier for an EntrustEventVerCert.
|
| Constructor and Description |
|---|
EntrustEventVerCert(ASN1Object obj)
Creates a new
EntrustEventVerCert from an
ASN1Object. |
EntrustEventVerCert(X509Certificate eventVerCert)
Creates a new
EntrustEventVerCert object with the
specified component. |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Decodes an EntrustEventVerCert from an
ASN1Object. |
X509Certificate |
getEventVerCert()
Returns the event verification certificate.
|
ASN1Object |
toASN1Object()
Encodes this
EntrustEventVerCert object as an
ASN1Object. |
java.lang.String |
toString()
Creates a text representation of the ASN.1 structure of this
EntrustEventVerCert object. |
public static final ObjectID oid
public EntrustEventVerCert(X509Certificate eventVerCert)
EntrustEventVerCert object with the
specified component.eventVerCert - the event verification certificatepublic EntrustEventVerCert(ASN1Object obj) throws CodingException
EntrustEventVerCert from an
ASN1Object. The ASN1Object must be an
EntrustEventVerCertSyntax structure.obj - the ASN.1 representation of an EntrustEventVerCertSyntax structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic X509Certificate getEventVerCert()
public void decode(ASN1Object obj) throws CodingException
ASN1Object. The
ASN1Object must be an EntrustEventVerCertSyntax structure.decode in interface ASN1Typeobj - an ASN.1 representation of a EntrustEventVerCertSyntax structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic ASN1Object toASN1Object()
EntrustEventVerCert object as an
ASN1Object.toASN1Object in interface ASN1Typepublic java.lang.String toString()
EntrustEventVerCert object.toString in class java.lang.Object