Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.20
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.ocsp
Class RevokedStatus

    java.lang.Object
      |
      +--org.bouncycastle.ocsp.RevokedStatus

All Implemented Interfaces:
  CertificateStatus

public class RevokedStatus
extends java.lang.Object
implements CertificateStatus

wrapper for the RevokedInfo object

Constructor Summary
`RevokedStatus(RevokedInfo info)`

Method Summary
`int` | `getRevocationReason()` return the revocation reason.
`java.util.Date` | `getRevocationTime()`
`boolean` | `hasRevocationReason()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RevokedStatus

    public RevokedStatus(RevokedInfo info)

Method Detail

### getRevocationTime

    public java.util.Date getRevocationTime()

### hasRevocationReason

    public boolean hasRevocationReason()

### getRevocationReason

    public int getRevocationReason()

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

  Throws:
    `java.lang.IllegalStateException` - if a reason is asked for and none is avaliable

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.20
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD