Package org.bouncycastle.asn1.cmc
Class PKIResponse
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.PKIResponse
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class PKIResponse
extends org.bouncycastle.asn1.ASN1Object
-- 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
-
Constructor Summary
ConstructorDescriptionPKIResponse
(TaggedAttribute controlSequence) PKIResponse
(TaggedAttribute[] controlSequence, TaggedContentInfo[] cmsSequence, OtherMsg[] otherMsgSequence) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1Sequence
org.bouncycastle.asn1.ASN1Sequence
static PKIResponse
static PKIResponse
getInstance
(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) org.bouncycastle.asn1.ASN1Sequence
org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
EMPTY_CMS_SEQUENCE
-
EMPTY_OTHER_MSG
-
-
Constructor Details
-
PKIResponse
-
PKIResponse
public PKIResponse(TaggedAttribute[] controlSequence, TaggedContentInfo[] cmsSequence, OtherMsg[] otherMsgSequence)
-
-
Method Details
-
getInstance
-
getInstance
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
getControlSequence
public org.bouncycastle.asn1.ASN1Sequence getControlSequence() -
getCmsSequence
public org.bouncycastle.asn1.ASN1Sequence getCmsSequence() -
getOtherMsgSequence
public org.bouncycastle.asn1.ASN1Sequence getOtherMsgSequence()
-