Top Description Fields Constructors Methods
org.bouncycastle.cert.ocsp

public Class RevokedStatus

extends Object
implements CertificateStatus
Class Inheritance
All Implemented Interfaces
org.bouncycastle.cert.ocsp.CertificateStatus
Imports
java.util.Date, org.bouncycastle.asn1.ASN1GeneralizedTime, org.bouncycastle.asn1.ocsp.RevokedInfo, org.bouncycastle.asn1.x509.CRLReason

wrapper for the RevokedInfo object

Field Summary

Modifier and TypeField and Description
pack-priv RevokedInfo

Constructor Summary

AccessConstructor and Description
public
public
RevokedStatus(Date revocationDate)

public
RevokedStatus(Date revocationDate, int reason)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the revocation reason value.
getRevocationReason
()

return the revocation reason.

public Date
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

infoback to summary
pack-priv RevokedInfo info

Constructor Detail

RevokedStatusback to summary
public RevokedStatus(RevokedInfo info)
RevokedStatusback to summary
public RevokedStatus(Date revocationDate)
RevokedStatusback to summary
public RevokedStatus(Date revocationDate, int reason)

Method Detail

getRevocationReasonback to summary
public int getRevocationReason()

return the revocation reason.

Note

this field is optional, test for it with hasRevocationReason() first.

Returns:int

the revocation reason value.

Exceptions
IllegalStateException:
if a reason is asked for and none is avaliable
getRevocationTimeback to summary
public Date getRevocationTime()
hasRevocationReasonback to summary
public boolean hasRevocationReason()