Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.asn1.cmc
Class CMCStatusInfo

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

public class CMCStatusInfo
extends 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 }


Inner Class Summary
static class CMCStatusInfo.OtherInfo
          Other info implements the choice component of CMCStatusInfo.
 
Method Summary
 BodyPartID[] getBodyList()
           
 CMCStatus getCMCStatus()
           
static CMCStatusInfo getInstance(java.lang.Object o)
           
 CMCStatusInfo.OtherInfo getOtherInfo()
           
 DERUTF8String getStatusString()
          Deprecated. Use getStatusStringUTF8() instead.
 ASN1UTF8String getStatusStringUTF8()
           
 boolean hasOtherInfo()
           
 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
 

Method Detail

getInstance

public static CMCStatusInfo getInstance(java.lang.Object o)

toASN1Primitive

public ASN1Primitive toASN1Primitive()
Description copied from class: ASN1Object
Method providing a primitive representation of this object suitable for encoding.
Overrides:
toASN1Primitive in class ASN1Object
Following copied from class: org.bouncycastle.asn1.ASN1Object
Returns:
a primitive representation of this object.

getCMCStatus

public CMCStatus getCMCStatus()

getBodyList

public BodyPartID[] getBodyList()

getStatusString

public DERUTF8String getStatusString()
Deprecated. Use getStatusStringUTF8() instead.


getStatusStringUTF8

public ASN1UTF8String getStatusStringUTF8()

hasOtherInfo

public boolean hasOtherInfo()

getOtherInfo

public CMCStatusInfo.OtherInfo getOtherInfo()

Bouncy Castle Cryptography Library 1.77.0