| Modifier and Type | Field and Description |
|---|---|
| private CertifiedKeyPair | |
| private final ASN1Integer | |
| private ASN1OctetString | |
| private final PKIStatusInfo |
| Access | Constructor and Description |
|---|---|
| public | CertificateResponseBuilder(ASN1Integer
the request ID for the response. certReqId, PKIStatusInfo the status info to associate with the response. statusInfo)Base constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public CertificateResponse | |
| public CertificateResponseBuilder | Returns: the current builder.the X.509 PK certificate to include. certificate)Specify the certificate to assign to this response (in plaintext). |
| public CertificateResponseBuilder | Returns: the current builder.the X.509 PK certificate to include. certificate)Specify the certificate to assign to this response (in plaintext). |
| public CertificateResponseBuilder | Returns: the current builder.an encrypted encryptedCertificate)Specify the encrypted certificate to assign to this response (in plaintext). |
| public CertificateResponseBuilder | Returns: the current builder.a response info string. responseInfo)Specify the response info field on the response. |
| certKeyPair | back to summary |
|---|---|
| private CertifiedKeyPair certKeyPair | |
| certReqId | back to summary |
|---|---|
| private final ASN1Integer certReqId | |
| rspInfo | back to summary |
|---|---|
| private ASN1OctetString rspInfo | |
| statusInfo | back to summary |
|---|---|
| private final PKIStatusInfo statusInfo | |
| CertificateResponseBuilder | back to summary |
|---|---|
| public CertificateResponseBuilder(ASN1Integer certReqId, PKIStatusInfo statusInfo) Base constructor.
| |
| build | back to summary |
|---|---|
| public CertificateResponse build() | |
| withCertificate | back to summary |
|---|---|
| public CertificateResponseBuilder withCertificate(X509CertificateHolder certificate) Specify the certificate to assign to this response (in plaintext).
| |
| withCertificate | back to summary |
|---|---|
| public CertificateResponseBuilder withCertificate(CMPCertificate certificate) Specify the certificate to assign to this response (in plaintext).
| |
| withCertificate | back to summary |
|---|---|
| public CertificateResponseBuilder withCertificate(CMSEnvelopedData encryptedCertificate) Specify the encrypted certificate to assign to this response (in plaintext).
| |
| withResponseInfo | back to summary |
|---|---|
| public CertificateResponseBuilder withResponseInfo(byte[] responseInfo) Specify the response info field on the response.
| |