public class

CertResponse

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.cmp.CertResponse

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
CertResponse(DERInteger certReqId, PKIStatusInfo status)
CertResponse(DERInteger certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair, ASN1OctetString rspInfo)
Public Methods
DERInteger getCertReqId()
CertifiedKeyPair getCertifiedKeyPair()
static CertResponse getInstance(Object o)
PKIStatusInfo getStatus()
DERObject toASN1Object()
 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]
             }
 
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public CertResponse (DERInteger certReqId, PKIStatusInfo status)

public CertResponse (DERInteger certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair, ASN1OctetString rspInfo)

Public Methods

public DERInteger getCertReqId ()

public CertifiedKeyPair getCertifiedKeyPair ()

public static CertResponse getInstance (Object o)

public PKIStatusInfo getStatus ()

public DERObject toASN1Object ()

 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]
             }
 

Returns
  • a basic ASN.1 object representation.