public interface IOcspClient
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncoded(X509Certificate checkCert, X509Certificate issuerCert, String url)
Fetch a DER-encoded BasicOCSPResponse from an OCSP responder.
|
byte[] getEncoded(X509Certificate checkCert, X509Certificate issuerCert, String url)
Note: do not pass in the full DER-encoded OCSPResponse object obtained from the responder, only the DER-encoded BasicOCSPResponse value contained in the response data.
checkCert
- Certificate to check.
issuerCert
- The parent certificate.
url
- The URL of the OCSP responder endpoint. If null, implementations can attempt to obtain a URL from the AuthorityInformationAccess extension of the certificate, or from another implementation-specific source.
Copyright © 1998–2022 iText Group NV. All rights reserved.