public class CertResponse extends ASN1Object
Modifier and Type | Field and Description |
---|---|
private CertifiedKeyPair |
certifiedKeyPair |
private ASN1Integer |
certReqId |
private ASN1OctetString |
rspInfo |
private PKIStatusInfo |
status |
Modifier | Constructor and Description |
---|---|
|
CertResponse(ASN1Integer certReqId,
PKIStatusInfo status) |
|
CertResponse(ASN1Integer certReqId,
PKIStatusInfo status,
CertifiedKeyPair certifiedKeyPair,
ASN1OctetString rspInfo) |
private |
CertResponse(ASN1Sequence seq) |
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, toASN1Object
private ASN1Integer certReqId
private PKIStatusInfo status
private CertifiedKeyPair certifiedKeyPair
private ASN1OctetString rspInfo
private CertResponse(ASN1Sequence seq)
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