org.bouncycastle.asn1.cmc
Class CMCStatusInfoV2
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.CMCStatusInfoV2
- All Implemented Interfaces:
- org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable
- public class CMCStatusInfoV2
- extends org.bouncycastle.asn1.ASN1Object
-- Replaces CMC Status Info
--
id-cmc-statusInfoV2 OBJECT IDENTIFIER ::= {id-cmc 25}
CMCStatusInfoV2 ::= SEQUENCE {
cMCStatus CMCStatus,
bodyList SEQUENCE SIZE (1..MAX) OF BodyPartReference,
statusString UTF8String OPTIONAL,
otherStatusInfo OtherStatusInfo OPTIONAL
}
OtherStatusInfo ::= CHOICE {
failInfo CMCFailInfo,
pendInfo PendInfo,
extendedFailInfo ExtendedFailInfo
}
PendInfo ::= SEQUENCE {
pendToken OCTET STRING,
pendTime GeneralizedTime
}
ExtendedFailInfo ::= SEQUENCE {
failInfoOID OBJECT IDENTIFIER,
failInfoValue ANY DEFINED BY failInfoOID
}
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 |
getCMCStatus
public CMCStatus getCMCStatus()
getcMCStatus
public CMCStatus getcMCStatus()
- Deprecated. use getCMCStatus();
getBodyList
public BodyPartID[] getBodyList()
getStatusString
public org.bouncycastle.asn1.DERUTF8String getStatusString()
- Deprecated. Use
getStatusStringUTF8()
instead.
getStatusStringUTF8
public org.bouncycastle.asn1.ASN1UTF8String getStatusStringUTF8()
getOtherStatusInfo
public OtherStatusInfo getOtherStatusInfo()
hasOtherInfo
public boolean hasOtherInfo()
getInstance
public static CMCStatusInfoV2 getInstance(java.lang.Object o)
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()