|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.crmf.Control | +--com.rsa.certj.crmf.Authenticator
This class holds, encodes, and decodes the Authenticator control. An Authenticator control 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 control may be generated by the subscriber or by the CA.
The authenticator control is typically used for initial as well as subsequent certification requests. In some instances of use the value for Authenticator control 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 must beUTF8
.
authenticator ::= UTF8String |
See Also
Fields inherited from class com.rsa.certj.crmf.Control |
AUTHENTICATOR, NON_STANDARD, OLD_CERT_ID, PKI_ARCHIVE_OPTIONS, PKI_PUBLICATION_INFO, PROTOCOL_ENCR_KEY, REG_TOKEN |
Constructor Summary |
|
Authenticator()
Constructs an empty |
Method Summary |
|
clone()
Gets a deeper clone than the default. |
|
boolean |
equals(Object obj)
Returns |
byte[] |
getValue()
Gets the value of the Authenticator control. |
void |
setValue(byte[] value,
int offset,
int len)
Sets the value of the Authenticator control. |
Methods inherited from class com.rsa.certj.crmf.Control |
compareOID, derEncodeControlLen, getControlType, getControlTypeString, getDEREncoding, getDERLen, getInstance, getInstance, getNextBEROffset, getOID, isControlType, setEnvironment |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Authenticator()
Authenticator
object.Method Detail |
public void setValue(byte[] value, int offset, int len) throws CRMFException
Parameters
value | Information used in an ongoing basis to establish a non-cryptographic check of identity during communication with the CA. | ||
offset | The offset into | ||
len | The length of the value |
Throws
CRMFException
- If the passed in value is null
.public byte[] getValue()
Returns
public Object clone() throws CloneNotSupportedException
Overrides
clone
in class Control
Returns
Throws
CloneNotSupportedException
- If the cloning operation
is not successful.public boolean equals(Object obj)
true
if this object and
obj contain the same
authenticator; otherwise, false
.Overrides
equals
in class Control
Parameters
obj | The instance of the Authenticator object. |
Returns
boolean
that indicates whether
these objects are equal.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |