Class CertResponse

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.CertResponse
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class CertResponse extends org.bouncycastle.asn1.ASN1Object
CertResponse ::= SEQUENCE { certReqId INTEGER, status PKIStatusInfo, certifiedKeyPair CertifiedKeyPair OPTIONAL, rspInfo OCTET STRING OPTIONAL -- analogous to the id-regInfo-utf8Pairs string defined -- for regInfo in CertReqMsg [CRMF] }
  • Constructor Summary

    Constructors
    Constructor
    Description
    CertResponse(org.bouncycastle.asn1.ASN1Integer certReqId, PKIStatusInfo status)
     
    CertResponse(org.bouncycastle.asn1.ASN1Integer certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair, org.bouncycastle.asn1.ASN1OctetString rspInfo)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.bouncycastle.asn1.ASN1Integer
     
     
    org.bouncycastle.asn1.ASN1OctetString
     
     
    org.bouncycastle.asn1.ASN1Primitive
    CertResponse ::= SEQUENCE { certReqId INTEGER, -- to match this response with corresponding request (a value -- of -1 is to be used if certReqId is not specified in the -- corresponding request) status PKIStatusInfo, certifiedKeyPair CertifiedKeyPair OPTIONAL, rspInfo OCTET STRING OPTIONAL -- analogous to the id-regInfo-utf8Pairs string defined -- for regInfo in CertReqMsg [CRMF] }

    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
  • Constructor Details

    • CertResponse

      public CertResponse(org.bouncycastle.asn1.ASN1Integer certReqId, PKIStatusInfo status)
    • CertResponse

      public CertResponse(org.bouncycastle.asn1.ASN1Integer certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair, org.bouncycastle.asn1.ASN1OctetString rspInfo)
  • Method Details

    • getInstance

      public static CertResponse getInstance(Object o)
    • getCertReqId

      public org.bouncycastle.asn1.ASN1Integer getCertReqId()
    • getStatus

      public PKIStatusInfo getStatus()
    • getCertifiedKeyPair

      public CertifiedKeyPair getCertifiedKeyPair()
    • getRspInfo

      public org.bouncycastle.asn1.ASN1OctetString getRspInfo()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
       CertResponse ::= SEQUENCE {
                                  certReqId           INTEGER,
                                  -- to match this response with corresponding request (a value
                                  -- of -1 is to be used if certReqId is not specified in the
                                  -- corresponding request)
                                  status              PKIStatusInfo,
                                  certifiedKeyPair    CertifiedKeyPair    OPTIONAL,
                                  rspInfo             OCTET STRING        OPTIONAL
                                  -- analogous to the id-regInfo-utf8Pairs string defined
                                  -- for regInfo in CertReqMsg [CRMF]
                   }
       
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
      Returns:
      a basic ASN.1 object representation.