Bouncy Castle Cryptography Library 1.79

org.bouncycastle.asn1.cmc
Class PKIResponse

java.lang.Object
  extended byorg.bouncycastle.asn1.ASN1Object
      extended byorg.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
static TaggedContentInfo[] EMPTY_CMS_SEQUENCE
           
static OtherMsg[] EMPTY_OTHER_MSG
           
 
Constructor Summary
PKIResponse(TaggedAttribute controlSequence)
           
PKIResponse(TaggedAttribute[] controlSequence, TaggedContentInfo[] cmsSequence, OtherMsg[] otherMsgSequence)
           
 
Method Summary
 org.bouncycastle.asn1.ASN1Sequence getCmsSequence()
           
 org.bouncycastle.asn1.ASN1Sequence getControlSequence()
           
static PKIResponse getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
           
static PKIResponse getInstance(java.lang.Object o)
           
 org.bouncycastle.asn1.ASN1Sequence getOtherMsgSequence()
           
 org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
           
 
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
 

Field Detail

EMPTY_CMS_SEQUENCE

public static final TaggedContentInfo[] EMPTY_CMS_SEQUENCE

EMPTY_OTHER_MSG

public static final OtherMsg[] EMPTY_OTHER_MSG
Constructor Detail

PKIResponse

public PKIResponse(TaggedAttribute controlSequence)

PKIResponse

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

getInstance

public static PKIResponse getInstance(java.lang.Object o)

getInstance

public static PKIResponse getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj,
                                      boolean explicit)

toASN1Primitive

public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()

getControlSequence

public org.bouncycastle.asn1.ASN1Sequence getControlSequence()

getCmsSequence

public org.bouncycastle.asn1.ASN1Sequence getCmsSequence()

getOtherMsgSequence

public org.bouncycastle.asn1.ASN1Sequence getOtherMsgSequence()

Bouncy Castle Cryptography Library 1.79