com.itextpdf.text.pdf.security
Interface OcspClient
- All Known Implementing Classes:
- OcspClientBouncyCastle
public interface OcspClient
Interface for the OCSP Client
getEncoded
byte[] getEncoded(X509Certificate checkCert,
X509Certificate rootCert,
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 certificatethe
- 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
Copyright © 2013. All Rights Reserved.