public class EntrustCapabilities extends java.lang.Object implements ASN1Type
EntrustCapabilities,
as defined by Entrust.
EntrustCapabilitiesSyntax::= SEQUENCE {
entrustProofOfRAFlag BOOLEAN OPTIONAL --supports the entrustProofOfRA attribute
}
entrustCapabilities OBJECT-TYPE
SYNTAX EntrustCapabilitiesSyntax
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
EntrustCapabilities. |
| Constructor and Description |
|---|
EntrustCapabilities(ASN1Object obj)
Creates a new
EntrustCapabilities from an
ASN1Object. |
EntrustCapabilities(java.lang.Boolean entrustProofOfRAFlag)
Creates a new
EntrustCapabilities. |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Decodes an
EntrustCapabilities from an ASN1Object. |
java.lang.Boolean |
getEntrustProofOfRAFlag()
Returns the 'entrustProofOfRAFlag' flag; indicates whether the
entrustProofOfRA attribute is supported by the EASM. |
boolean |
isEntrustProofOfRASupported()
Indicates whether or not the 'entrustProofOfRAFlag' flag is set.
|
ASN1Object |
toASN1Object()
Encodes this
EntrustCapabilities object as an
ASN1Object. |
java.lang.String |
toString()
Creates a text representation of the ASN.1 structure of this
EntrustCapabilities object. |
public static final ObjectID oid
EntrustCapabilities.public EntrustCapabilities(java.lang.Boolean entrustProofOfRAFlag)
EntrustCapabilities.
entrustProofOfRAFlag - the 'entrustProofOfRAFlag' flag; indicates whether the
entrustProofOfRA attribute is supported by the EASMpublic EntrustCapabilities(ASN1Object obj) throws CodingException
EntrustCapabilities from an
ASN1Object. The ASN1Object must be an
EntrustCapabilitiesSyntax structure.obj - the ASN.1 representation of an EntrustCapabilitiesSyntax
structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic java.lang.Boolean getEntrustProofOfRAFlag()
entrustProofOfRA attribute is supported by the EASM.
null if the flag has not
been setpublic boolean isEntrustProofOfRASupported()
true if the EASM supports the entrustProofOfRA
attribute; false otherwisepublic void decode(ASN1Object obj) throws CodingException
EntrustCapabilities from an ASN1Object.
The ASN1Object must be an EntrustCapabilitiesSyntax
structure.
decode in interface ASN1Typeobj - an ASN.1 representation of an EntrustCapabilitiesSyntax
structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic ASN1Object toASN1Object()
EntrustCapabilities object as an
ASN1Object.
toASN1Object in interface ASN1TypeEntrustCapabilitiesSyntax
structurepublic java.lang.String toString()
EntrustCapabilities object.
toString in class java.lang.Object