Package com.itextpdf.text.pdf.security
Interface OcspClient
-
- All Known Implementing Classes:
OcspClientBouncyCastle
public interface OcspClient
Interface for the OCSP Client
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getEncoded(java.security.cert.X509Certificate checkCert, java.security.cert.X509Certificate rootCert, java.lang.String url)
Gets an encoded byte array with OCSP validation.
-
-
-
Method Detail
-
getEncoded
byte[] getEncoded(java.security.cert.X509Certificate checkCert, java.security.cert.X509Certificate rootCert, java.lang.String url)
Gets an encoded byte array with OCSP validation. The method should not throw an exception.- Parameters:
checkCert
- to certificate to checkrootCert
- the parent certificateurl
- the url to get the verification. It it's null it will be taken from the check cert or from other implementation specific source- Returns:
- a byte array with the validation or null if the validation could not be obtained
-
-