public class EntrustCertDefnList extends java.lang.Object implements ASN1Type
EntrustCertDefnListSyntax ::= SEQUENCE
{
returnedCertInfo SEQUENCE OF EntrustNewCertDefn,
extraCertDefns SEQUENCE SIZE (1..MAX) OF EntrustCertDefnInfo OPTIONAL
-- extraCertDefns is policy for any returned certificates not in current certificate type
}
entrustCertDefnList OBJECT-TYPE
SYNTAX EntrustCertDefnListSyntax
ACCESS read-write
STATUS mandatory
::= { 2 16 840 1 114027 50 9 }
| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid
The object identifier for an EntrustCertDefnList.
|
| Constructor and Description |
|---|
EntrustCertDefnList(ASN1Object obj)
Creates a new
EntrustCertDefnList from an
ASN1Object. |
EntrustCertDefnList(EntrustNewCertDefn returnedCertInfo)
Creates a new
EntrustCertDefnList object with a single entry
of returned certificate information. |
EntrustCertDefnList(EntrustNewCertDefn[] returnedCertInfo)
Creates a new
EntrustCertDefnList object with the specified
component. |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtraCertDefn(EntrustCertDefnInfo extraCertDefns)
Adds an extra certificate definition entry to the set of extra certificate
definitions.
|
void |
addReturnedCertInfo(EntrustNewCertDefn returnedCertInfo)
Adds a returned certificate information entry to the set of returned
certificate information.
|
void |
decode(ASN1Object obj)
Decodes an EntrustCertDefnList from an
ASN1Object. |
EntrustCertDefnInfo[] |
getExtraCertDefns()
Returns the set of extra certificate definitions if it has been set;
otherwise
null is returned. |
EntrustNewCertDefn[] |
getReturnedCertInfo()
Returns the set of returned certificate information.
|
EntrustNewCertDefn |
getReturnedCertInfo(CertId certId)
Returns a new certificate definition, specified by its certificate
identifier, if it exists in the returnedCertInfo structure; otherwise
null is returned. |
void |
setExtraCertDefns(EntrustCertDefnInfo[] extraCertDefns)
Sets the set of extra certificate definitions.
|
ASN1Object |
toASN1Object()
Encodes this
EntrustCertDefnList object as an
ASN1Object. |
java.lang.String |
toString()
Creates a text representation of the ASN.1 structure of this
EntrustCertDefnList object. |
public static final ObjectID oid
public EntrustCertDefnList(EntrustNewCertDefn returnedCertInfo)
EntrustCertDefnList object with a single entry
of returned certificate information.returnedCertInfo - returned certificate informationjava.lang.IllegalArgumentException - thrown if the returned certificate information is nullpublic EntrustCertDefnList(EntrustNewCertDefn[] returnedCertInfo)
EntrustCertDefnList object with the specified
component.returnedCertInfo - a set of returned certificate informationjava.lang.IllegalArgumentException - thrown if the set of returned certificate information is
nullpublic EntrustCertDefnList(ASN1Object obj) throws CodingException
EntrustCertDefnList from an
ASN1Object. The ASN1Object must be an
EntrustCertDefnListSyntax structure.obj - the ASN.1 representation of an EntrustCertDefnListSyntax structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic EntrustNewCertDefn[] getReturnedCertInfo()
public EntrustNewCertDefn getReturnedCertInfo(CertId certId)
null is returned.certId - the certificate identifier of the new certificate definitionpublic EntrustCertDefnInfo[] getExtraCertDefns()
null is returned.public void addReturnedCertInfo(EntrustNewCertDefn returnedCertInfo)
If returnedCertInfo is null, it is not added.
returnedCertInfo - a returned certificate information entrypublic void setExtraCertDefns(EntrustCertDefnInfo[] extraCertDefns)
extraCertDefns - the extraCertDefns componentpublic void addExtraCertDefn(EntrustCertDefnInfo extraCertDefns)
If extraCertDefns is null, it is not added.
extraCertDefns - an extra certificate definition entrypublic void decode(ASN1Object obj) throws CodingException
ASN1Object. The
ASN1Object must an EntrustCertDefnListSyntax structure.decode in interface ASN1Typeobj - an ASN.1 representation of an EntrustCertDefnListSyntax structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic ASN1Object toASN1Object()
EntrustCertDefnList object as an
ASN1Object.toASN1Object in interface ASN1Typepublic java.lang.String toString()
EntrustCertDefnList object.toString in class java.lang.Object