org.bouncycastle.asn1.cmc
Class CMCStatusInfo
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.CMCStatusInfo
- All Implemented Interfaces:
- org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable
- public class CMCStatusInfo
- extends org.bouncycastle.asn1.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 |
static class |
CMCStatusInfo.OtherInfo
Other info implements the choice component of CMCStatusInfo. |
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 |
getInstance
public static CMCStatusInfo getInstance(java.lang.Object o)
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
getCMCStatus
public CMCStatus getCMCStatus()
getBodyList
public BodyPartID[] getBodyList()
getStatusString
public org.bouncycastle.asn1.DERUTF8String getStatusString()
- Deprecated. Use
getStatusStringUTF8()
instead.
getStatusStringUTF8
public org.bouncycastle.asn1.ASN1UTF8String getStatusStringUTF8()
hasOtherInfo
public boolean hasOtherInfo()
getOtherInfo
public CMCStatusInfo.OtherInfo getOtherInfo()