public class EntrustCapabilityList extends java.lang.Object implements ASN1Type
EntrustCapabilityList, as defined by Entrust.
EntrustCapabilityListSyntax ::= BIT STRING {
entrustProofOfRA (0)
,entrustProofOfRASigned(1)
,entrustKeyGenPolicyLevelOne(2)
,entrustCMPv2Supported(3) -- supports the CMPv2 protocol (added in SM 8.1 SP1 Patch)
}
entrustCapabilityList OBJECT-TYPE
SYNTAX EntrustCapabilityListSyntax
ACCESS read-write
STATUS mandatory
::= { 2 16 840 1 114027 50 16 }
| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid
The object identifier for
EntrustCapabilityList. |
| Constructor and Description |
|---|
EntrustCapabilityList(ASN1Object obj)
Creates a new
EntrustCapabilityList from an
ASN1Object. |
EntrustCapabilityList(BinaryString entrustCapabilityList)
Creates a new
EntrustCapabilityList. |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Decodes an
EntrustCapabilityList from an
ASN1Object. |
BinaryString |
getEntrustCapabilityList()
Returns the Entrust capability list value.
|
boolean |
isEntrustCMPv2Supported()
Indicates whether or not the EASM supports the
entrustCMPv2Supported capability. |
boolean |
isEntrustKeyGenPolicyLevelOneSupported()
Indicates whether or not the EASM supports the
entrustKeyGenPolicyLevelOne capability. |
boolean |
isEntrustProofOfRASignedSupported()
Indicates whether or not the EASM supports the
entrustProofOfRASigned capability. |
boolean |
isEntrustProofOfRASupported()
Indicates whether or not the EASM supports the
entrustProofOfRA capability. |
void |
setEntrustCapabilityList(BinaryString entrustCapabilityList)
Sets the Entrust capability list value.
|
ASN1Object |
toASN1Object()
Encodes this
EntrustCapabilityList object as an
ASN1Object. |
java.lang.String |
toString()
Creates a text representation of the ASN.1 structure of this
EntrustCapabilityList object. |
public static final ObjectID oid
EntrustCapabilityList.public EntrustCapabilityList(BinaryString entrustCapabilityList)
EntrustCapabilityList.
entrustCapabilityList - the Entrust capability list valuejava.lang.IllegalArgumentException - if the parameter is nullpublic EntrustCapabilityList(ASN1Object obj) throws CodingException
EntrustCapabilityList from an
ASN1Object. The ASN1Object must be an
EntrustCapabilityListSyntax structure.obj - the ASN.1 representation of an
EntrustCapabilityListSyntax structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic BinaryString getEntrustCapabilityList()
public void setEntrustCapabilityList(BinaryString entrustCapabilityList)
entrustCapabilityList - the Entrust capability list valuejava.lang.IllegalArgumentException - if the parameter is nullpublic boolean isEntrustProofOfRASupported()
entrustProofOfRA capability.true if the 'entrustProofOfRA' bit is set;
false otherwisepublic boolean isEntrustProofOfRASignedSupported()
entrustProofOfRASigned capability.true if the 'entrustProofOfRASigned' bit is set;
false otherwisepublic boolean isEntrustKeyGenPolicyLevelOneSupported()
entrustKeyGenPolicyLevelOne capability.true if the 'entrustKeyGenPolicyLevelOne' bit is set;
false otherwisepublic boolean isEntrustCMPv2Supported()
entrustCMPv2Supported capability.true if the 'entrustCMPv2Supported' bit is set;
false otherwisepublic void decode(ASN1Object obj) throws CodingException
EntrustCapabilityList from an
ASN1Object. The ASN1Object must be an
EntrustCapabilityListSyntax structure.
decode in interface ASN1Typeobj - an ASN.1 representation of an
EntrustCapabilityListSyntax structureCodingException - thrown if an errors occurs while decoding the
ANS1Objectpublic ASN1Object toASN1Object()
EntrustCapabilityList object as an
ASN1Object.
toASN1Object in interface ASN1TypeEntrustCapabilityListSyntax structurepublic java.lang.String toString()
EntrustCapabilityList object.
toString in class java.lang.Object