Package 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 }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMCStatusInfo.OtherInfoOther info implements the choice component of CMCStatusInfo.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BodyPartID[]getBodyList()CMCStatusgetCMCStatus()static CMCStatusInfogetInstance(java.lang.Object o)CMCStatusInfo.OtherInfogetOtherInfo()DERUTF8StringgetStatusString()booleanhasOtherInfo()ASN1PrimitivetoASN1Primitive()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
-
-
-
-
Method Detail
-
getInstance
public static CMCStatusInfo getInstance(java.lang.Object o)
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-
getCMCStatus
public CMCStatus getCMCStatus()
-
getBodyList
public BodyPartID[] getBodyList()
-
getStatusString
public DERUTF8String getStatusString()
-
hasOtherInfo
public boolean hasOtherInfo()
-
getOtherInfo
public CMCStatusInfo.OtherInfo getOtherInfo()
-
-