|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.spi.revocation.CertRevocationInfo
This class holds revocation information of a certificate. The revocation status of a certificate can be revoked, not revoked, or unknown. Additionally, this class holds the evidence, or verifiable details, of the revocation status of the certificate.
Copyright © RSA Security Inc., 1999-2001. All rights reserved.
Field Summary |
|
static int |
CERT_NOT_REVOKED
Indicates the certificate is not revoked. |
static int |
CERT_REVOCATION_UNKNOWN
Indicates that the certificate revocation status is unknown. |
static int |
CERT_REVOKED
Indicates that the certificate is revoked. |
static int |
CRE_CRL
Indicates that the evidence of revocation status is a CRL. |
static int |
CRE_NONE
Indicates that the evidence of revocation status is not provided. |
static int |
CRE_OCSP
Indicates that the evidence of revocation status is an
|
Constructor Summary |
|
CertRevocationInfo()
Constructs a |
|
CertRevocationInfo(int status,
int evidenceType,
Object evidence)
Constructs a |
Method Summary |
|
getEvidence()
Gets the evidence object. |
|
int |
getStatus()
Gets the certificate status. |
int |
getType()
Gets the evidence type. |
void |
setEvidence(Object evidence)
Sets the evidence object. |
void |
setStatus(int status)
Sets the certificate status. |
void |
setType(int type)
Sets the evidence type. |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CERT_NOT_REVOKED
public static final int CERT_REVOKED
public static final int CERT_REVOCATION_UNKNOWN
public static final int CRE_NONE
public static final int CRE_CRL
public static final int CRE_OCSP
OCSPEvidence
object.Constructor Detail |
public CertRevocationInfo()
CertRevocationInfo
object with
default state (status unknown and no evidence).public CertRevocationInfo(int status, int evidenceType, Object evidence)
CertRevocationInfo
object and
initializes it with the given arguments.Parameters
status | An | ||
evidenceType | An | ||
evidence | An |
Method Detail |
public String toString()
Overrides
toString
in class Object
public void setStatus(int status)
Parameters
status | An |
public void setType(int type)
Parameters
evidenceType | An |
public void setEvidence(Object evidence)
Parameters
evidence | An |
public int getStatus()
Returns
int
indicating the revocation status:
whether the certificate is good, revoked, or has unknown
status. Possible values are
CERT_NOT_REVOKED
, CERT_REVOKED
, and
CERT_REVOCATION_UNKNOWN
.public int getType()
Returns
int
indicating the type of
evidence of the revocation status of a given certificate;
for example, CRE_CRL
.public Object getEvidence()
Returns
Object
that contains verifiable
evidence of the revocation status of a certificate.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |