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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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()