public class Authenticator extends AttributeTypeAndValue implements ASN1Type
id-regCtrl-authenticator OBJECT IDENTIFIER ::= { id-regCtrl 2 }
--with syntax:
Authenticator ::= UTF8String
AttributeTypeAndValue ::= SEQUENCE {
type OBJECT IDENTIFIER,
value ANY DEFINED BY type
}
An authenticator regCtrl contains information used in an ongoing basis to establish a non-cryptographic check of identity in communication with the CA. Examples include: mother's maiden name, last four digits of social security number, or other knowledge-based information shared with the subscriber's CA; a hash of such information; or other information produced for this purpose. The value for an authenticator regCtrl may be generated by the subscriber or by the CA.
In some instances of use the value for authenticator could be a text string or a numeric quantity such as a random number. The value in the latter case could be encoded either as a binary quantity or as a text string representation of the binary quantity. To ensure a uniform encoding of values regardless of the nature of the quantity, the encoding of authenticator SHALL be UTF8.
| Modifier and Type | Field and Description |
|---|---|
static ObjectID |
oid
The object identifier for an Authenticator regCtrl.
|
m_type, m_value| Constructor and Description |
|---|
Authenticator(ASN1Object obj)
Creates a new
Authenticator regCtrl object from an
ASN1Object. |
Authenticator(java.lang.String authenticator)
Creates a new
Authenticator regCtrl object with the specified
component. |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Decodes an Authenticator regCtrl structure from an
ASN1Object. |
java.lang.String |
getAuthenticator()
Returns the authenticator.
|
ASN1Object |
toASN1Object()
Encodes this
Authenticator regCtrl object as an
ASN1Object. |
java.lang.String |
toString()
Creates a text representation of the ASN.1 structure of this
Authenticator regCtrl object. |
getType, getValuepublic static final ObjectID oid
public Authenticator(java.lang.String authenticator)
Authenticator regCtrl object with the specified
component.authenticator - the authentication valuepublic Authenticator(ASN1Object obj) throws CodingException
Authenticator regCtrl object from an
ASN1Object. The ASN1Object must be a complete
ASN.1 AttributeTypeAndValue structure, not simply an ASN.1 Authenticator
structure.obj - the ASN.1 representation of an Authenticator regCtrl structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic java.lang.String getAuthenticator()
public void decode(ASN1Object obj) throws CodingException
ASN1Object.
The ASN1Object must be a complete ASN.1 AttributeTypeAndValue
structure, not simply an ASN.1 Authenticator structure.decode in interface ASN1Typedecode in class AttributeTypeAndValueobj - an ASN.1 representation of an Authenticator regCtrl structureCodingException - thrown if an errors occurs while decoding the ANS1Objectpublic ASN1Object toASN1Object()
Authenticator regCtrl object as an
ASN1Object. The encoding produces a complete ASN.1
AttributeTypeAndValue structure, not simply an ASN.1 Authenticator
structure. To retrieve only the Authenticator structure use
getValue().toASN1Object in interface ASN1TypetoASN1Object in class AttributeTypeAndValuepublic java.lang.String toString()
Authenticator regCtrl object.toString in class AttributeTypeAndValue