org.bouncycastle.asn1.cmp

## Class PKIStatusInfo

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

- All Implemented Interfaces:
    ASN1Encodable, Encodable

      public class PKIStatusInfo
      extends ASN1Object

  PKIStatusInfo ::= SEQUENCE { status PKIStatus, statusString PKIFreeText OPTIONAL, failInfo PKIFailureInfo OPTIONAL }

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PKIStatusInfo(PKIStatus status)`
    `PKIStatusInfo(PKIStatus status, PKIFreeText statusString)`
    `PKIStatusInfo(PKIStatus status, PKIFreeText statusString, PKIFailureInfo failInfo)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ASN1BitString` | `getFailInfo()`
    `static PKIStatusInfo` | `getInstance(ASN1TaggedObject obj, boolean explicit)`
    `static PKIStatusInfo` | `getInstance(java.lang.Object obj)`
    `java.math.BigInteger` | `getStatus()`
    `ASN1Integer` | `getStatusObject()`
    `PKIFreeText` | `getStatusString()`
    `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`

- - ### Constructor Detail

    - #### PKIStatusInfo

          public PKIStatusInfo(PKIStatus status)

      Parameters:
        `status` -

    - #### PKIStatusInfo

          public PKIStatusInfo(PKIStatus status,
                               PKIFreeText statusString)

      Parameters:
        `status` -
        `statusString` -

    - #### PKIStatusInfo

          public PKIStatusInfo(PKIStatus status,
                               PKIFreeText statusString,
                               PKIFailureInfo failInfo)

  - ### Method Detail

    - #### getInstance

          public static PKIStatusInfo getInstance(ASN1TaggedObject obj,
                                                  boolean explicit)

    - #### getInstance

          public static PKIStatusInfo getInstance(java.lang.Object obj)

    - #### getStatus

          public java.math.BigInteger getStatus()

    - #### getStatusObject

          public ASN1Integer getStatusObject()

    - #### getStatusString

          public PKIFreeText getStatusString()

    - #### getFailInfo

          public ASN1BitString getFailInfo()

    - #### 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.