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