org.bouncycastle.ocsp
public class OCSPReqGenerator extends Object
Method Summary | |
---|---|
void | addRequest(CertificateID certId)
Add a request for the given CertificateID.
|
void | addRequest(CertificateID certId, X509Extensions singleRequestExtensions)
Add a request with extensions
|
OCSPReq | generate()
Generate an unsigned request
|
OCSPReq | generate(String signingAlgorithm, PrivateKey key, X509Certificate[] chain, String provider) |
OCSPReq | generate(String signingAlgorithm, PrivateKey key, X509Certificate[] chain, String provider, SecureRandom random) |
Iterator | getSignatureAlgNames()
Return an iterator of the signature names supported by the generator.
|
void | setRequestExtensions(X509Extensions requestExtensions) |
void | setRequestorName(X500Principal requestorName)
Set the requestor name to the passed in X500Principal
|
void | setRequestorName(GeneralName requestorName) |
Parameters: certId certificate ID of interest
Parameters: certId certificate ID of interest singleRequestExtensions the extensions to attach to the request
Returns: the OCSPReq
Throws: OCSPException
Returns: an iterator containing recognised names.
Parameters: requestorName a X500Principal representing the requestor name.