Package org.bouncycastle.asn1.cmp
Class CertResponse
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.CertResponse
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionCertResponse
(ASN1Integer certReqId, PKIStatusInfo status) CertResponse
(ASN1Integer certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair, ASN1OctetString rspInfo) -
Method Summary
Modifier and TypeMethodDescriptionstatic CertResponse
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
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
CertResponse
-
CertResponse
public CertResponse(ASN1Integer certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair, ASN1OctetString rspInfo)
-
-
Method Details
-
getInstance
-
getCertReqId
-
getStatus
-
getCertifiedKeyPair
-
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 interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a basic ASN.1 object representation.
-