|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.cert.ocsp.OCSPReqBuilder
public class OCSPReqBuilder
| Constructor Summary | |
|---|---|
OCSPReqBuilder()
|
|
| Method Summary | |
|---|---|
OCSPReqBuilder |
addRequest(CertificateID certId)
Add a request for the given CertificateID. |
OCSPReqBuilder |
addRequest(CertificateID certId,
org.bouncycastle.asn1.x509.Extensions singleRequestExtensions)
Add a request with extensions |
OCSPReq |
build()
Generate an unsigned request |
OCSPReq |
build(org.bouncycastle.operator.ContentSigner signer,
X509CertificateHolder[] chain)
|
OCSPReqBuilder |
setRequestExtensions(org.bouncycastle.asn1.x509.Extensions requestExtensions)
|
OCSPReqBuilder |
setRequestorName(org.bouncycastle.asn1.x509.GeneralName requestorName)
|
OCSPReqBuilder |
setRequestorName(org.bouncycastle.asn1.x500.X500Name requestorName)
Set the requestor name to the passed in X500Principal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OCSPReqBuilder()
| Method Detail |
|---|
public OCSPReqBuilder addRequest(CertificateID certId)
certId - certificate ID of interest
public OCSPReqBuilder addRequest(CertificateID certId,
org.bouncycastle.asn1.x509.Extensions singleRequestExtensions)
certId - certificate ID of interestsingleRequestExtensions - the extensions to attach to the requestpublic OCSPReqBuilder setRequestorName(org.bouncycastle.asn1.x500.X500Name requestorName)
requestorName - a X500Principal representing the requestor name.public OCSPReqBuilder setRequestorName(org.bouncycastle.asn1.x509.GeneralName requestorName)
public OCSPReqBuilder setRequestExtensions(org.bouncycastle.asn1.x509.Extensions requestExtensions)
public OCSPReq build()
throws OCSPException
org.bouncycastle.ocsp.OCSPException
OCSPException
public OCSPReq build(org.bouncycastle.operator.ContentSigner signer,
X509CertificateHolder[] chain)
throws OCSPException,
java.lang.IllegalArgumentException
OCSPException
java.lang.IllegalArgumentException
|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||