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 }
Modifier and Type | Class | Description |
---|---|---|
static class |
CMCStatusInfo.OtherInfo |
Other info implements the choice component of CMCStatusInfo.
|
Modifier and Type | Method | Description |
---|---|---|
BodyPartID[] |
getBodyList() |
|
CMCStatus |
getCMCStatus() |
|
static CMCStatusInfo |
getInstance(java.lang.Object o) |
|
CMCStatusInfo.OtherInfo |
getOtherInfo() |
|
DERUTF8String |
getStatusString() |
|
boolean |
hasOtherInfo() |
|
ASN1Primitive |
toASN1Primitive() |
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public static CMCStatusInfo getInstance(java.lang.Object o)
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public CMCStatus getCMCStatus()
public BodyPartID[] getBodyList()
public DERUTF8String getStatusString()
public boolean hasOtherInfo()
public CMCStatusInfo.OtherInfo getOtherInfo()