Package org.bouncycastle.asn1.cmp

## Class PKIStatus

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.cmp.PKIStatus

- All Implemented Interfaces:
    `ASN1Encodable`, `Encodable`

      public class PKIStatus
      extends ASN1Object

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static PKIStatus` | `granted` |
    `static int` | `GRANTED` |
    `static int` | `GRANTED_WITH_MODS` |
    `static PKIStatus` | `grantedWithMods` |
    `static int` | `KEY_UPDATE_WARNING` |
    `static PKIStatus` | `keyUpdateWaiting` |
    `static PKIStatus` | `rejection` |
    `static int` | `REJECTION` |
    `static int` | `REVOCATION_NOTIFICATION` |
    `static int` | `REVOCATION_WARNING` |
    `static PKIStatus` | `revocationNotification` |
    `static PKIStatus` | `revocationWarning` |
    `static PKIStatus` | `waiting` |
    `static int` | `WAITING` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static PKIStatus` | `getInstance​(java.lang.Object o)` |
    `java.math.BigInteger` | `getValue()` |
    `ASN1Primitive` | `toASN1Primitive()` | Method providing a primitive representation of this object suitable for encoding.

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Object

      `encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### GRANTED

          public static final int GRANTED

      See Also:
        Constant Field Values

    - #### GRANTED_WITH_MODS

          public static final int GRANTED_WITH_MODS

      See Also:
        Constant Field Values

    - #### REJECTION

          public static final int REJECTION

      See Also:
        Constant Field Values

    - #### WAITING

          public static final int WAITING

      See Also:
        Constant Field Values

    - #### REVOCATION_WARNING

          public static final int REVOCATION_WARNING

      See Also:
        Constant Field Values

    - #### REVOCATION_NOTIFICATION

          public static final int REVOCATION_NOTIFICATION

      See Also:
        Constant Field Values

    - #### KEY_UPDATE_WARNING

          public static final int KEY_UPDATE_WARNING

      See Also:
        Constant Field Values

    - #### granted

          public static final PKIStatus granted

    - #### grantedWithMods

          public static final PKIStatus grantedWithMods

    - #### rejection

          public static final PKIStatus rejection

    - #### waiting

          public static final PKIStatus waiting

    - #### revocationWarning

          public static final PKIStatus revocationWarning

    - #### revocationNotification

          public static final PKIStatus revocationNotification

    - #### keyUpdateWaiting

          public static final PKIStatus keyUpdateWaiting

  - ### Method Detail

    - #### getInstance

          public static PKIStatus getInstance​(java.lang.Object o)

    - #### getValue

          public java.math.BigInteger getValue()

    - #### toASN1Primitive

          public ASN1Primitive toASN1Primitive()

      Description copied from class: `ASN1Object`
      Method providing a primitive representation of this object suitable for encoding.
      Specified by:
        `toASN1Primitive` in interface `ASN1Encodable`
      Specified by:
        `toASN1Primitive` in class `ASN1Object`
      Returns:
        a primitive representation of this object.