iText 9.0.0 API
|
OcspClient implementation using BouncyCastle. More...
Public Member Functions |
|
OcspClientBouncyCastle () | |
Creates new OcspClientBouncyCastle instance. More... |
|
virtual IBasicOcspResponse | GetBasicOCSPResp (IX509Certificate checkCert, IX509Certificate rootCert, String url) |
Gets OCSP response. More... |
|
virtual byte[] | GetEncoded (IX509Certificate checkCert, IX509Certificate rootCert, String url) |
Fetch a DER-encoded BasicOCSPResponse from an OCSP responder. More... |
|
Package Functions |
|
virtual Stream | CreateRequestAndResponse (IX509Certificate checkCert, IX509Certificate rootCert, String url) |
Create OCSP request and get the response for this request, represented as System.IO.Stream. More... |
|
Static Package Functions |
|
static IOcspRequest | GenerateOCSPRequest (IX509Certificate issuerCert, IBigInteger serialNumber) |
Generates an OCSP request using BouncyCastle. More... |
|
static ICertStatus | GetCertificateStatus (byte[] basicOcspRespBytes) |
Retrieves certificate status from the OCSP response. More... |
|
OcspClient implementation using BouncyCastle.
|
inline |
Creates new OcspClientBouncyCastle instance.
|
inlinepackagevirtual |
Create OCSP request and get the response for this request, represented as System.IO.Stream.
checkCert |
iText.Commons.Bouncycastle.Cert.IX509Certificate certificate to get OCSP response for
rootCert |
iText.Commons.Bouncycastle.Cert.IX509Certificate root certificate from which OCSP request will be built
url |
System.Uri link, which is expected to be used to get OCSP response from
|
inlinestaticpackage |
Generates an OCSP request using BouncyCastle.
issuerCert | certificate of the issues |
serialNumber | serial number |
iText.Commons.Bouncycastle.Cert.Ocsp.IOcspRequest an OCSP request wrapper
|
inlinevirtual |
Gets OCSP response.
Gets OCSP response.
If required, iText.Commons.Bouncycastle.Asn1.Ocsp.IBasicOcspResponse can be checked using iText.Signatures.Validation.OCSPValidator class.
checkCert | the certificate to check |
rootCert | parent certificate |
url | to get the verification |
iText.Commons.Bouncycastle.Asn1.Ocsp.IBasicOcspResponse an OCSP response wrapper
|
inlinestaticpackage |
Retrieves certificate status from the OCSP response.
basicOcspRespBytes | encoded basic OCSP response |
|
inlinevirtual |
Fetch a DER-encoded BasicOCSPResponse from an OCSP responder.
Implements iText.Signatures.IOcspClient.