org.bouncycastle.asn1.cmp

Class CertResponse

Implemented Interfaces:
DEREncodable

public class CertResponse
extends ASN1Encodable

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Method Summary

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

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Method Details

getCertReqId

public DERInteger getCertReqId()

getCertifiedKeyPair

public CertifiedKeyPair getCertifiedKeyPair()

getInstance

public static CertResponse getInstance(Object o)

getStatus

public PKIStatusInfo getStatus()

toASN1Object

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]
             }
 
Overrides:
toASN1Object in interface ASN1Encodable
Returns:
a basic ASN.1 object representation.