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