Top Fields Constructors Methods
org.bouncycastle.asn1.cmp

public Class CertResponse

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .DERSequence

Field Summary

Modifier and TypeField and Description
private CertifiedKeyPair
private ASN1Integer
private ASN1OctetString
private PKIStatusInfo

Constructor Summary

AccessConstructor and Description
private
public
public
CertResponse(ASN1Integer certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair, ASN1OctetString rspInfo)

Method Summary

Modifier and TypeMethod and Description
public CertifiedKeyPair
public ASN1Integer
public static CertResponse
public PKIStatusInfo
public ASN1Primitive

Returns:

a basic ASN.1 object representation.
toASN1Primitive
()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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]
            }
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

certifiedKeyPairback to summary
private CertifiedKeyPair certifiedKeyPair
certReqIdback to summary
private ASN1Integer certReqId
rspInfoback to summary
private ASN1OctetString rspInfo
statusback to summary
private PKIStatusInfo status

Constructor Detail

CertResponseback to summary
private CertResponse(ASN1Sequence seq)
CertResponseback to summary
public CertResponse(ASN1Integer certReqId, PKIStatusInfo status)
CertResponseback to summary
public CertResponse(ASN1Integer certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair, ASN1OctetString rspInfo)

Method Detail

getCertifiedKeyPairback to summary
public CertifiedKeyPair getCertifiedKeyPair()
getCertReqIdback to summary
public ASN1Integer getCertReqId()
getInstanceback to summary
public static CertResponse getInstance(Object o)
getStatusback to summary
public PKIStatusInfo getStatus()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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]
            }
Returns:ASN1Primitive

a basic ASN.1 object representation.