public class EntrustStrongestRecovery extends java.lang.Object implements ASN1Type
EntrustStrongestRecoverySyntax ::= UTF8String
entrustStrongestRecovery OBJECT-TYPE
SYNTAX EntrustStrongestRecoverySyntax
ACCESS read-write
STATUS mandatory
::= { 2 16 840 1 114027 50 18 }
The entrustStrongestRecovery PKIX-CMP General Message content value indicates the key-type of the strongest key that will be returned during a PKIX-CMP Key Recovery operation. This value should be used by clients as the key-type for the client protocol encryption key; this ensure that the client protocol encryption key is at least as strong as any of the keys it will be used to protect in the Key Recovery response.
| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid
The object identifier for entrustStrongestRecovery.
|
| Constructor and Description |
|---|
EntrustStrongestRecovery(ASN1Object obj)
Creates a new
EntrustStrongestRecovery object from an
ASN1Object. |
EntrustStrongestRecovery(java.lang.String strongestRecovery)
Creates a new
EntrustStrongestRecovery object with the
specified component. |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Decodes an EntrustStrongestRecovery object from an
ASN1Object. |
java.lang.String |
getStrongestRecovery()
Returns the strongest recovery key-type.
|
ASN1Object |
toASN1Object()
Encodes this
EntrustStrongestRecovery object as an
ASN1Object. |
java.lang.String |
toString()
Creates a text representation of the ASN.1 structure of this
EntrustStrongestRecovery object. |
public static final ObjectID oid
public EntrustStrongestRecovery(java.lang.String strongestRecovery)
EntrustStrongestRecovery object with the
specified component.strongestRecovery - the strongest recovery key-typepublic EntrustStrongestRecovery(ASN1Object obj) throws CodingException
EntrustStrongestRecovery object from an
ASN1Object. The ASN1Object must be an
EntrustStrongestRecoverySyntax structure.obj - the ASN.1 representation of an EntrustStrongestRecoverySyntax
structureCodingException - thrown if an errors occurs while decoding the
ANS1Objectpublic java.lang.String getStrongestRecovery()
public void decode(ASN1Object obj) throws CodingException
ASN1Object. The ASN1Object must be an
EntrustStrongestRecoverySyntax structure.decode in interface ASN1Typeobj - an ASN.1 representation of a
EntrustApplicationIdentifierSyntax structureCodingException - thrown if an errors occurs while decoding the
ANS1Objectpublic java.lang.String toString()
EntrustStrongestRecovery object.toString in class java.lang.Objectpublic ASN1Object toASN1Object()
EntrustStrongestRecovery object as an
ASN1Object.toASN1Object in interface ASN1Type