public class CertResponse
extends java.lang.Object
implements org.bouncycastle.asn1.ASN1Encodable
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-asciiPairs OCTET STRING defined for regInfo in CertReqMsg [CRMF] }
Constructor and Description |
---|
CertResponse(org.bouncycastle.asn1.ASN1Integer certReqId,
PKIStatusInfo status) |
CertResponse(org.bouncycastle.asn1.ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
CertifiedKeyPair |
getCertifiedKeyPair() |
org.bouncycastle.asn1.ASN1Integer |
getCertReqId() |
static CertResponse |
getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj,
boolean explicit) |
static CertResponse |
getInstance(java.lang.Object obj) |
org.bouncycastle.asn1.DEROctetString |
getRspInfo() |
PKIStatusInfo |
getStatus() |
void |
setCertifiedKeyPair(CertifiedKeyPair certifiedKeyPair) |
void |
setRspInfo(org.bouncycastle.asn1.DEROctetString rspInfo) |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
java.lang.String |
toString() |
public CertResponse(org.bouncycastle.asn1.ASN1Sequence seq)
public CertResponse(org.bouncycastle.asn1.ASN1Integer certReqId, PKIStatusInfo status)
public static CertResponse getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
public static CertResponse getInstance(java.lang.Object obj)
public org.bouncycastle.asn1.ASN1Integer getCertReqId()
public PKIStatusInfo getStatus()
public void setCertifiedKeyPair(CertifiedKeyPair certifiedKeyPair)
public CertifiedKeyPair getCertifiedKeyPair()
public void setRspInfo(org.bouncycastle.asn1.DEROctetString rspInfo)
public org.bouncycastle.asn1.DEROctetString getRspInfo()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 Agencia de Tecnología y Certificación Electrónica. All Rights Reserved.