Top Description Fields Constructors Methods
org.bouncycastle.asn1.cmc

public Class CMCStatusInfoV2

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1UTF8String, .DERSequence, .DERUTF8String

--  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
}

Field Summary

Modifier and TypeField and Description
private final ASN1Sequence
private final CMCStatus
private final OtherStatusInfo
private final ASN1UTF8String

Constructor Summary

AccessConstructor and Description
pack-priv
CMCStatusInfoV2(CMCStatus cMCStatus, ASN1Sequence bodyList, ASN1UTF8String statusString, OtherStatusInfo otherStatusInfo)

private

Method Summary

Modifier and TypeMethod and Description
public BodyPartID[]
public CMCStatus
public CMCStatus
getcMCStatus()
Deprecated use getCMCStatus();

public static CMCStatusInfoV2
public OtherStatusInfo
public DERUTF8String
getStatusString()
Deprecated Use getStatusStringUTF8() instead.

public ASN1UTF8String
public boolean
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

bodyListback to summary
private final ASN1Sequence bodyList
cMCStatusback to summary
private final CMCStatus cMCStatus
otherStatusInfoback to summary
private final OtherStatusInfo otherStatusInfo
statusStringback to summary
private final ASN1UTF8String statusString

Constructor Detail

CMCStatusInfoV2back to summary
pack-priv CMCStatusInfoV2(CMCStatus cMCStatus, ASN1Sequence bodyList, ASN1UTF8String statusString, OtherStatusInfo otherStatusInfo)
CMCStatusInfoV2back to summary
private CMCStatusInfoV2(ASN1Sequence seq)

Method Detail

getBodyListback to summary
public BodyPartID[] getBodyList()
getCMCStatusback to summary
public CMCStatus getCMCStatus()
getcMCStatusback to summary
public CMCStatus getcMCStatus()

Deprecated

use getCMCStatus();

getInstanceback to summary
public static CMCStatusInfoV2 getInstance(Object o)
getOtherStatusInfoback to summary
public OtherStatusInfo getOtherStatusInfo()
getStatusStringback to summary
public DERUTF8String getStatusString()

Deprecated

Use getStatusStringUTF8() instead.

getStatusStringUTF8back to summary
public ASN1UTF8String getStatusStringUTF8()
hasOtherInfoback to summary
public boolean hasOtherInfo()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.