public class XiOCSPReqBuilder extends Object
| Constructor and Description |
|---|
XiOCSPReqBuilder() |
| Modifier and Type | Method and Description |
|---|---|
XiOCSPReqBuilder |
addRequest(org.bouncycastle.asn1.ocsp.CertID certId)
Add a request for the given CertificateID.
|
XiOCSPReqBuilder |
addRequest(org.bouncycastle.asn1.ocsp.CertID certId,
org.bouncycastle.asn1.x509.Extensions singleRequestExtensions)
Add a request with extensions.
|
org.bouncycastle.asn1.ocsp.OCSPRequest |
build()
Generate an unsigned request.
|
org.bouncycastle.asn1.ocsp.OCSPRequest |
build(org.bouncycastle.operator.ContentSigner signer,
org.bouncycastle.asn1.x509.Certificate[] chain) |
XiOCSPReqBuilder |
setRequestExtensions(org.bouncycastle.asn1.x509.Extensions requestExtensions) |
XiOCSPReqBuilder |
setRequestorName(org.bouncycastle.asn1.x509.GeneralName requestorName) |
XiOCSPReqBuilder |
setRequestorName(org.bouncycastle.asn1.x500.X500Name requestorName)
Set the requestor name to the passed in X500Name.
|
public XiOCSPReqBuilder addRequest(org.bouncycastle.asn1.ocsp.CertID certId)
certId - certificate ID of interestpublic XiOCSPReqBuilder addRequest(org.bouncycastle.asn1.ocsp.CertID certId, org.bouncycastle.asn1.x509.Extensions singleRequestExtensions)
certId - certificate ID of interestsingleRequestExtensions - the extensions to attach to the requestpublic XiOCSPReqBuilder setRequestorName(org.bouncycastle.asn1.x500.X500Name requestorName)
requestorName - an X500Name representing the requestor name.public XiOCSPReqBuilder setRequestorName(org.bouncycastle.asn1.x509.GeneralName requestorName)
public XiOCSPReqBuilder setRequestExtensions(org.bouncycastle.asn1.x509.Extensions requestExtensions)
public org.bouncycastle.asn1.ocsp.OCSPRequest build()
throws org.bouncycastle.cert.ocsp.OCSPException
org.bouncycastle.cert.ocsp.OCSPException - If OCSP request cannot be built.public org.bouncycastle.asn1.ocsp.OCSPRequest build(org.bouncycastle.operator.ContentSigner signer,
org.bouncycastle.asn1.x509.Certificate[] chain)
throws org.bouncycastle.cert.ocsp.OCSPException
org.bouncycastle.cert.ocsp.OCSPExceptionCopyright © 2019. All rights reserved.