Package com.itextpdf.signatures
Interface IOcspClientBouncyCastle
- All Superinterfaces:
-
IOcspClient
- All Known Implementing Classes:
-
OcspClientBouncyCastle
Interface for the Online Certificate Status Protocol (OCSP) Client. With a method returning parsed IBasicOCSPResp instead of encoded response.
-
Method Summary
Modifier and TypeMethodDescriptiongetBasicOCSPResp(X509Certificate checkCert, X509Certificate rootCert, String url) Gets OCSP response.Methods inherited from interface com.itextpdf.signatures.IOcspClient
getEncoded
-
Method Details
-
getBasicOCSPResp
Gets OCSP response.If required,
IBasicOCSPRespcan be checked usingOCSPValidatorclass.- Parameters:
-
checkCert- the certificate to check -
rootCert- parent certificate -
url- to get the verification - Returns:
-
IBasicOCSPRespan OCSP response wrapper
-