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 Details

    • EMPTY_CMS_SEQUENCE

      public static final TaggedContentInfo[] EMPTY_CMS_SEQUENCE
    • EMPTY_OTHER_MSG

      public static final OtherMsg[] EMPTY_OTHER_MSG
  • Constructor Details

  • Method Details

    • getInstance

      public static PKIResponse getInstance(Object o)
    • getInstance

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

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
    • getControlSequence

      public org.bouncycastle.asn1.ASN1Sequence getControlSequence()
    • getCmsSequence

      public org.bouncycastle.asn1.ASN1Sequence getCmsSequence()
    • getOtherMsgSequence

      public org.bouncycastle.asn1.ASN1Sequence getOtherMsgSequence()