public class CertResponse extends ASN1Object
Constructor and Description |
---|
CertResponse(ASN1Integer certReqId,
PKIStatusInfo status) |
CertResponse(ASN1Integer certReqId,
PKIStatusInfo status,
CertifiedKeyPair certifiedKeyPair,
ASN1OctetString rspInfo) |
Modifier and Type | Method and Description |
---|---|
CertifiedKeyPair |
getCertifiedKeyPair() |
ASN1Integer |
getCertReqId() |
static CertResponse |
getInstance(java.lang.Object o) |
PKIStatusInfo |
getStatus() |
ASN1Primitive |
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]
}
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public CertResponse(ASN1Integer certReqId, PKIStatusInfo status)
public CertResponse(ASN1Integer certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair, ASN1OctetString rspInfo)
public static CertResponse getInstance(java.lang.Object o)
public ASN1Integer getCertReqId()
public PKIStatusInfo getStatus()
public CertifiedKeyPair getCertifiedKeyPair()
public ASN1Primitive 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] }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object