Class CMCStatusInfo

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.CMCStatusInfo
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class CMCStatusInfo extends org.bouncycastle.asn1.ASN1Object
 -- Used to return status state in a response

 id-cmc-statusInfo OBJECT IDENTIFIER ::= {id-cmc 1}

 CMCStatusInfo ::= SEQUENCE {
     cMCStatus       CMCStatus,
     bodyList        SEQUENCE SIZE (1..MAX) OF BodyPartID,
     statusString    UTF8String OPTIONAL,
     otherInfo        CHOICE {
       failInfo         CMCFailInfo,
       pendInfo         PendInfo } OPTIONAL
 }
 
  • Method Details

    • getInstance

      public static CMCStatusInfo getInstance(Object o)
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
    • getCMCStatus

      public CMCStatus getCMCStatus()
    • getBodyList

      public BodyPartID[] getBodyList()
    • getStatusString

      public org.bouncycastle.asn1.DERUTF8String getStatusString()
      Deprecated.
    • getStatusStringUTF8

      public org.bouncycastle.asn1.ASN1UTF8String getStatusStringUTF8()
    • hasOtherInfo

      public boolean hasOtherInfo()
    • getOtherInfo

      public CMCStatusInfo.OtherInfo getOtherInfo()