| java.lang.Object org.bouncycastle.ocsp.BasicOCSPRespGenerator
BasicOCSPRespGenerator | public class BasicOCSPRespGenerator (Code) | | Generator for basic OCSP response objects.
|
Method Summary | |
public void | addResponse(CertificateID certID, CertificateStatus certStatus) Add a response for a particular Certificate ID. | public void | addResponse(CertificateID certID, CertificateStatus certStatus, X509Extensions singleExtensions) Add a response for a particular Certificate ID. | public void | addResponse(CertificateID certID, CertificateStatus certStatus, Date nextUpdate, X509Extensions singleExtensions) Add a response for a particular Certificate ID. | public void | addResponse(CertificateID certID, CertificateStatus certStatus, Date thisUpdate, Date nextUpdate, X509Extensions singleExtensions) Add a response for a particular Certificate ID. | public BasicOCSPResp | generate(String signingAlgorithm, PrivateKey key, X509Certificate[] chain, Date thisUpdate, String provider) | public BasicOCSPResp | generate(String signingAlgorithm, PrivateKey key, X509Certificate[] chain, Date producedAt, String provider, SecureRandom random) | public Iterator | getSignatureAlgNames() Return an iterator of the signature names supported by the generator. | public void | setResponseExtensions(X509Extensions responseExtensions) Set the extensions for the response. |
BasicOCSPRespGenerator | public BasicOCSPRespGenerator(RespID responderID)(Code) | | basic constructor
|
BasicOCSPRespGenerator | public BasicOCSPRespGenerator(PublicKey key) throws OCSPException(Code) | | construct with the responderID to be the SHA-1 keyHash of the passed in public key.
|
addResponse | public void addResponse(CertificateID certID, CertificateStatus certStatus)(Code) | | Add a response for a particular Certificate ID.
Parameters: certID - certificate ID details Parameters: certStatus - status of the certificate - null if okay |
addResponse | public void addResponse(CertificateID certID, CertificateStatus certStatus, X509Extensions singleExtensions)(Code) | | Add a response for a particular Certificate ID.
Parameters: certID - certificate ID details Parameters: certStatus - status of the certificate - null if okay Parameters: singleExtensions - optional extensions |
addResponse | public void addResponse(CertificateID certID, CertificateStatus certStatus, Date nextUpdate, X509Extensions singleExtensions)(Code) | | Add a response for a particular Certificate ID.
Parameters: certID - certificate ID details Parameters: nextUpdate - date when next update should be requested Parameters: certStatus - status of the certificate - null if okay Parameters: singleExtensions - optional extensions |
addResponse | public void addResponse(CertificateID certID, CertificateStatus certStatus, Date thisUpdate, Date nextUpdate, X509Extensions singleExtensions)(Code) | | Add a response for a particular Certificate ID.
Parameters: certID - certificate ID details Parameters: thisUpdate - date this response was valid on Parameters: nextUpdate - date when next update should be requested Parameters: certStatus - status of the certificate - null if okay Parameters: singleExtensions - optional extensions |
getSignatureAlgNames | public Iterator getSignatureAlgNames()(Code) | | Return an iterator of the signature names supported by the generator.
an iterator containing recognised names. |
setResponseExtensions | public void setResponseExtensions(X509Extensions responseExtensions)(Code) | | Set the extensions for the response.
Parameters: responseExtensions - the extension object to carry. |
|
|