org.bouncycastle.asn1.cmp
Class CertResponse
java.lang.Object
org.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.cmp.CertResponse
- All Implemented Interfaces:
- DEREncodable
public class CertResponse
- extends ASN1Encodable
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CertResponse
public CertResponse(DERInteger certReqId,
PKIStatusInfo status)
CertResponse
public CertResponse(DERInteger certReqId,
PKIStatusInfo status,
CertifiedKeyPair certifiedKeyPair,
ASN1OctetString rspInfo)
getInstance
public static CertResponse getInstance(java.lang.Object o)
getCertReqId
public DERInteger getCertReqId()
getStatus
public PKIStatusInfo getStatus()
getCertifiedKeyPair
public CertifiedKeyPair getCertifiedKeyPair()
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]
}
- Specified by:
toASN1Object
in class ASN1Encodable
- Returns:
- a basic ASN.1 object representation.