|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.provider.revocation.ocsp.OCSPEvidence
This class holds evidence related to the status of
a certificate provided by an OCSP responder.
This class is used with CertRevocationInfo
when the type of evidence is
CertRevocationInfo.CRE_OCSP
.
See Also
CertRevocationInfo
Field Summary |
|
static int |
NONCE_IGNORED
Indicates that the client provided the optional nonce extension in the request, and that no nonce was returned by the OCSP responder. |
Constructor Summary |
|
OCSPEvidence(int flags,
Date producedAtTime,
Date thisUpdateTime,
Date nextUpdateTime,
X509V3Extensions responseExtensions,
OCSPRevocationInfo revocationInfo)
Constructs |
Method Summary |
|
int |
getFlags()
Returns a collection of bit values indicating extra information found in the evidence object. |
getNextUpdate()
Returns the time at which newer information about the status of the certificate will be available. |
|
getProducedAt()
Returns the time indicating when the response message was produced. |
|
getResponseExtensions()
Returns optional extensions found in the response message. |
|
getRevocationInfo()
Returns information pertaining to the time and circumstances of revocation. |
|
getThisUpdate()
Returns the time at which the status of the certificate is known to be correct. |
|
void |
setFlags(int flags)
Set a collection of bit values to indicate extra information in the evidence object. |
toString()
Returns a |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int NONCE_IGNORED
Constructor Detail |
public OCSPEvidence(int flags, Date producedAtTime, Date thisUpdateTime, Date nextUpdateTime, X509V3Extensions responseExtensions, OCSPRevocationInfo revocationInfo) throws InvalidParameterException
OCSPEvidence
and initializes all the
fields with given arguments.
Parameters
flags | A collection of bit values indicating any extra
information found in the response message. Currently
the only possible value is | ||
producedAtTime | The time when the response message was produced. | ||
thisUpdateTime | The time at which the status of the certificate is known to be correct. | ||
nextUpdateTime | The time at which newer information about the status of the certificate will be available. | ||
responseExtensions | Optional extensions found in the response message. | ||
revocationInfo | Information pertaining to the time and circumstances of revocation. |
Throws
InvalidParameterException
- If any argument is invalid.Method Detail |
public String toString()
String
that describes this
OCSPEvidence
object.
Overrides
toString
in class Object
Returns
String
that describes this
OCSPEvidence
object.public int getFlags()
NONCE_IGNORED
.
Returns
int
value holding a collection of
bit values indicating any extra
information found in the evidence.public void setFlags(int flags)
NONCE_IGNORED
.public Date getProducedAt()
Returns
Date
object indicating the time
when the response message was produced.public Date getThisUpdate()
Returns
Date
object indicating the time
at which the status of the certificate is
known to be correct.public Date getNextUpdate()
Returns
Date
object indicating the time
at which newer information about the status
of the certificate will be available. This method returns
null
if the optional field of
nextUpdate
of the response message is absent.public X509V3Extensions getResponseExtensions()
Returns
X509V3Extensions
object indicating
optional extensions found in the response message. If
the extensions are absent in the response message, this
method returns null
.public OCSPRevocationInfo getRevocationInfo()
Returns
OCSPRevocationInfo
object containing
the revocation details. This method returns
null
if the certificate has not been revoked, or
no such information is available.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |