|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.cert.attributes.X501Attribute | +--com.rsa.certj.cert.attributes.VeriSignCRSPKIStatus
This class holds, encodes, and decodes the CRS PKI status attribute.
The ASN.1 definition is as follows:-- Description: Identifies a CRS Status attribute -- OID in decimal notation: (2.16.840.1.113733.1.9.3) -- Definition: id-crs-pkiStatus ::= {id-attributes crs-pkiStatus(3)} CRSPKIStatus ::= INTEGER |
SUCCESS (pkiStatus = 0) for successful responses FAILURE (pkiStatus = 2) for failure responses PENDING (pkiStatus = 1) for pending responsesFor a complete list of CRS PKI status values, contact your VeriSign representative to obtain the VeriSign CRS Profile Specification. Copyright © RSA Security Inc., 1999-2001. All rights reserved.
See Also
Fields inherited from class com.rsa.certj.cert.attributes.X501Attribute |
CHALLENGE_PASSWORD, CONTENT_TYPE, COUNTRY_OF_CITIZENSHIP, COUNTRY_OF_RESIDENCE, CRS_DUAL_STATUS, CRS_FAILURE_INFO, CRS_MESSAGE_TYPE, CRS_PKI_STATUS, CRS_RECIPIENT_NONCE, CRS_SENDER_NONCE, CRS_TRANSACTION_ID, CRS_VERSION, DATE_OF_BIRTH, FRIENDLY_NAME, GENDER, LOCAL_KEY_ID, MESSAGE_DIGEST, NON_STANDARD, PLACE_OF_BIRTH, POSTAL_ADDRESS, PSEUDONYM, SIGNING_TIME, SMART_CSP, X509_V3_EXTENSION |
Constructor Summary |
|
VeriSignCRSPKIStatus()
Constructs an empty |
|
VeriSignCRSPKIStatus(int status)
Constructs a |
Method Summary |
|
clone()
Overrides the default |
|
boolean |
equals(Object obj)
Returns |
int |
getPKIStatus()
Gets the value of this attribute. |
void |
setPKIStatus(int status)
Sets the value of this attribute, the CRS PKI Status, to status. |
Methods inherited from class com.rsa.certj.cert.attributes.X501Attribute |
clearSensitiveData, compareOID, derEncodeAttributeLen, getAttributeType, getAttributeTypeString, getDEREncoding, getDERLen, getInstance, getNextBEROffset, getOID, isAttributeType |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VeriSignCRSPKIStatus()
VeriSignCRSPKIStatus
object.public VeriSignCRSPKIStatus(int status)
VeriSignCRSPKIStatus
object
and initializes it with the value given.
Parameters
status | A CRS PKI status ( |
Method Detail |
public void setPKIStatus(int status)
Parameters
status | The CRS PKI status (SUCCESS, FAILURE, or PENDING). |
public int getPKIStatus()
-1
.
Returns
int
that specifies the CRS PKI status. If
the value is not set, this method returns -1
.public Object clone() throws CloneNotSupportedException
clone
method to get a deeper clone.
Overrides
clone
in class X501Attribute
Returns
VeriSignCRSPKIStatus
object,
a copy of this object.
Throws
CloneNotSupportedException
- If the cloning operation
is not successful.public boolean equals(Object obj)
true
if this object and obj
contain the same VeriSignCRSPKIStatus
,
returns false
otherwise.Overrides
equals
in class Object
Parameters
obj | The instance of the |
Returns
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |