Org.BouncyCastle.Ocsp.BasicOcspRespGenerator
Generator for basic OCSP response objects.
Return an IEnumerable of the signature names supported by the generator.
Basic constructor.
Construct with the responderID as the SHA-1 keyHash of the passed in public key.
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, DateTime? nextUpdate, X509Extensions singleExtensions)
Add a response for a particular Certificate ID.
public void AddResponse(CertificateID certID, CertificateStatus certStatus, DateTime thisUpdate, DateTime? nextUpdate, X509Extensions singleExtensions)
Add a response for a particular Certificate ID.
public BasicOcspResp Generate(string signingAlgorithm, AsymmetricKeyParameter privateKey, X509Certificate[] chain, DateTime thisUpdate)
public BasicOcspResp Generate(string signingAlgorithm, AsymmetricKeyParameter privateKey, X509Certificate[] chain, DateTime producedAt, SecureRandom random)
public BasicOcspResp Generate(ISignatureFactory signatureCalculatorFactory, X509Certificate[] chain, DateTime producedAt)
Generate the signed response using the passed in signature calculator.
Set the extensions for the response.