public class

RevokedStatus

extends Object
implements CertificateStatus
java.lang.Object
   ↳ org.bouncycastle.ocsp.RevokedStatus

Class Overview

wrapper for the RevokedInfo object

Summary

[Expand]
Inherited Fields
From interface org.bouncycastle.ocsp.CertificateStatus
Public Constructors
RevokedStatus(RevokedInfo info)
RevokedStatus(Date revocationDate, int reason)
Public Methods
int getRevocationReason()
return the revocation reason.
Date getRevocationTime()
boolean hasRevocationReason()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RevokedStatus (RevokedInfo info)

public RevokedStatus (Date revocationDate, int reason)

Public Methods

public int getRevocationReason ()

return the revocation reason. Note: this field is optional, test for it with hasRevocationReason() first.

Returns
  • the revocation reason value.
Throws
IllegalStateException if a reason is asked for and none is avaliable

public Date getRevocationTime ()

public boolean hasRevocationReason ()