|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.cert.crmf.CertificateResponseBuilder
Builder for CertificateResponse objects (the CertResponse CRMF equivalent).
| Constructor Summary | |
CertificateResponseBuilder(org.bouncycastle.asn1.ASN1Integer certReqId,
org.bouncycastle.asn1.cmp.PKIStatusInfo statusInfo)
Base constructor. |
|
| Method Summary | |
CertificateResponse |
build()
|
CertificateResponseBuilder |
withCertificate(org.bouncycastle.asn1.cmp.CMPCertificate certificate)
Specify the certificate to assign to this response (in plaintext). |
CertificateResponseBuilder |
withCertificate(CMSEnvelopedData encryptedCertificate)
Specify the encrypted certificate to assign to this response (in plaintext). |
CertificateResponseBuilder |
withCertificate(X509CertificateHolder certificate)
Specify the certificate to assign to this response (in plaintext). |
CertificateResponseBuilder |
withResponseInfo(byte[] responseInfo)
Specify the response info field on the response. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CertificateResponseBuilder(org.bouncycastle.asn1.ASN1Integer certReqId,
org.bouncycastle.asn1.cmp.PKIStatusInfo statusInfo)
certReqId - the request ID for the response.statusInfo - the status info to associate with the response.| Method Detail |
public CertificateResponseBuilder withCertificate(X509CertificateHolder certificate)
certificate - the X.509 PK certificate to include.
public CertificateResponseBuilder withCertificate(org.bouncycastle.asn1.cmp.CMPCertificate certificate)
certificate - the X.509 PK certificate to include.
public CertificateResponseBuilder withCertificate(CMSEnvelopedData encryptedCertificate)
encryptedCertificate - an encrypted
public CertificateResponseBuilder withResponseInfo(byte[] responseInfo)
responseInfo - a response info string.
public CertificateResponse build()
|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||