Package com.itextpdf.signatures
Interface IOcspClientBouncyCastle
-
- All Superinterfaces:
IOcspClient
- All Known Implementing Classes:
OcspClientBouncyCastle
public interface IOcspClientBouncyCastle extends IOcspClient
Interface for the Online Certificate Status Protocol (OCSP) Client. With a method returning parsed IBasicOCSPResp instead of encoded response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBasicOCSPResp
getBasicOCSPResp(java.security.cert.X509Certificate checkCert, java.security.cert.X509Certificate rootCert, java.lang.String url)
Gets OCSP response.-
Methods inherited from interface com.itextpdf.signatures.IOcspClient
getEncoded
-
-
-
-
Method Detail
-
getBasicOCSPResp
IBasicOCSPResp getBasicOCSPResp(java.security.cert.X509Certificate checkCert, java.security.cert.X509Certificate rootCert, java.lang.String url)
Gets OCSP response.If required,
IBasicOCSPResp
can be checked usingOCSPValidator
class.- Parameters:
checkCert
- the certificate to checkrootCert
- parent certificateurl
- to get the verification- Returns:
IBasicOCSPResp
an OCSP response wrapper
-
-