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

public Class PKIResponse

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

   --  This defines the response message in the protocol
 id-cct-PKIResponse OBJECT IDENTIFIER ::= { id-cct 3 }

ResponseBody ::= PKIResponse

PKIResponse ::= SEQUENCE {
    controlSequence   SEQUENCE SIZE(0..MAX) OF TaggedAttribute,
    cmsSequence       SEQUENCE SIZE(0..MAX) OF TaggedContentInfo,
    otherMsgSequence  SEQUENCE SIZE(0..MAX) OF OtherMsg
}

Field Summary

Modifier and TypeField and Description
private final ASN1Sequence
private final ASN1Sequence
public static final TaggedContentInfo[]
public static final OtherMsg[]
private final ASN1Sequence

Constructor Summary

AccessConstructor and Description
private
public
PKIResponse(TaggedAttribute controlSequence)

public
PKIResponse(TaggedAttribute[] controlSequence, TaggedContentInfo[] cmsSequence, OtherMsg[] otherMsgSequence)

Method Summary

Modifier and TypeMethod and Description
public ASN1Sequence
public ASN1Sequence
public static PKIResponse
public static PKIResponse
getInstance(ASN1TaggedObject obj, boolean explicit)

public ASN1Sequence
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

cmsSequenceback to summary
private final ASN1Sequence cmsSequence
controlSequenceback to summary
private final ASN1Sequence controlSequence
EMPTY_CMS_SEQUENCEback to summary
public static final TaggedContentInfo[] EMPTY_CMS_SEQUENCE
EMPTY_OTHER_MSGback to summary
public static final OtherMsg[] EMPTY_OTHER_MSG
otherMsgSequenceback to summary
private final ASN1Sequence otherMsgSequence

Constructor Detail

PKIResponseback to summary
private PKIResponse(ASN1Sequence seq)
PKIResponseback to summary
public PKIResponse(TaggedAttribute controlSequence)
PKIResponseback to summary
public PKIResponse(TaggedAttribute[] controlSequence, TaggedContentInfo[] cmsSequence, OtherMsg[] otherMsgSequence)

Method Detail

getCmsSequenceback to summary
public ASN1Sequence getCmsSequence()
getControlSequenceback to summary
public ASN1Sequence getControlSequence()
getInstanceback to summary
public static PKIResponse getInstance(Object o)
getInstanceback to summary
public static PKIResponse getInstance(ASN1TaggedObject obj, boolean explicit)
getOtherMsgSequenceback to summary
public ASN1Sequence getOtherMsgSequence()
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.