Class CMCStatusInfoV2

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

public class CMCStatusInfoV2 extends org.bouncycastle.asn1.ASN1Object
 --  Replaces CMC Status Info
 --

 id-cmc-statusInfoV2 OBJECT IDENTIFIER ::= {id-cmc 25}

 CMCStatusInfoV2 ::= SEQUENCE {
  cMCStatus             CMCStatus,
  bodyList              SEQUENCE SIZE (1..MAX) OF BodyPartReference,
  statusString          UTF8String OPTIONAL,
  otherStatusInfo             OtherStatusInfo OPTIONAL
 }

 OtherStatusInfo ::= CHOICE {
  failInfo              CMCFailInfo,
  pendInfo              PendInfo,
  extendedFailInfo      ExtendedFailInfo
 }

 PendInfo ::= SEQUENCE {
 pendToken           OCTET STRING,
 pendTime            GeneralizedTime
 }

 ExtendedFailInfo ::= SEQUENCE {
 failInfoOID            OBJECT IDENTIFIER,
 failInfoValue          ANY DEFINED BY failInfoOID
 }
 
  • Method Details

    • getCMCStatus

      public CMCStatus getCMCStatus()
    • getcMCStatus

      public CMCStatus getcMCStatus()
      Deprecated.
      use getCMCStatus();
    • getBodyList

      public BodyPartID[] getBodyList()
    • getStatusString

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

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

      public OtherStatusInfo getOtherStatusInfo()
    • hasOtherInfo

      public boolean hasOtherInfo()
    • getInstance

      public static CMCStatusInfoV2 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