Package com.itextpdf.signatures
Interface ICrlClient
- All Known Implementing Classes:
-
CrlClientOffline
,CrlClientOnline
public interface ICrlClient
Interface that needs to be implemented if you want to embed Certificate Revocation Lists (CRL) into your PDF.
- Author:
- Paulo Soares
-
Method Summary
Modifier and TypeMethodDescriptiongetEncoded
(X509Certificate checkCert, String url) Gets an encoded byte array.
-
Method Details
-
getEncoded
Gets an encoded byte array.- Parameters:
-
checkCert
- The certificate which a CRL URL can be obtained from. -
url
- A CRL url if you don't want to obtain it from the certificate. - Returns:
- A collection of byte array each representing a crl. It may return null or an empty collection.
-