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

public Class CMCStatusInfo

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

-- 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 and Inner Type Summary

Modifier and TypeClass and Description
public static class
CMCStatusInfo.OtherInfo

Other info implements the choice component of CMCStatusInfo.

Field Summary

Modifier and TypeField and Description
private final ASN1Sequence
private final CMCStatus
private final CMCStatusInfo.OtherInfo
private final ASN1UTF8String

Constructor Summary

AccessConstructor and Description
pack-priv
CMCStatusInfo(CMCStatus cMCStatus, ASN1Sequence bodyList, ASN1UTF8String statusString, CMCStatusInfo.OtherInfo otherInfo)

private

Method Summary

Modifier and TypeMethod and Description
public BodyPartID[]
public CMCStatus
public static CMCStatusInfo
public CMCStatusInfo.OtherInfo
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
otherInfoback to summary
private final CMCStatusInfo.OtherInfo otherInfo
statusStringback to summary
private final ASN1UTF8String statusString

Constructor Detail

CMCStatusInfoback to summary
pack-priv CMCStatusInfo(CMCStatus cMCStatus, ASN1Sequence bodyList, ASN1UTF8String statusString, CMCStatusInfo.OtherInfo otherInfo)
CMCStatusInfoback to summary
private CMCStatusInfo(ASN1Sequence seq)

Method Detail

getBodyListback to summary
public BodyPartID[] getBodyList()
getCMCStatusback to summary
public CMCStatus getCMCStatus()
getInstanceback to summary
public static CMCStatusInfo getInstance(Object o)
getOtherInfoback to summary
public CMCStatusInfo.OtherInfo getOtherInfo()
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.

org.bouncycastle.asn1.cmc back to summary

public Class CMCStatusInfo.OtherInfo

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice

Other info implements the choice component of CMCStatusInfo.

Field Summary

Modifier and TypeField and Description
private final CMCFailInfo
private final PendInfo

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
OtherInfo(PendInfo pendInfo)

private
OtherInfo(CMCFailInfo failInfo, PendInfo pendInfo)

Method Summary

Modifier and TypeMethod and Description
private static CMCStatusInfo.OtherInfo
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

failInfoback to summary
private final CMCFailInfo failInfo
pendInfoback to summary
private final PendInfo pendInfo

Constructor Detail

OtherInfoback to summary
pack-priv OtherInfo(CMCFailInfo failInfo)
OtherInfoback to summary
pack-priv OtherInfo(PendInfo pendInfo)
OtherInfoback to summary
private OtherInfo(CMCFailInfo failInfo, PendInfo pendInfo)

Method Detail

getInstanceback to summary
private static CMCStatusInfo.OtherInfo getInstance(Object obj)
isFailInfoback to summary
public boolean isFailInfo()
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.