Package com.itextpdf.text.pdf.security
Interface CrlClient
- All Known Implementing Classes:
CrlClientOffline
,CrlClientOnline
public interface CrlClient
Interface that needs to be implemented if you want to embed
Certificate Revocation Lists into your PDF.
-
Method Summary
Modifier and TypeMethodDescriptionCollection<byte[]>
getEncoded
(X509Certificate checkCert, String url) Gets an encoded byte array.
-
Method Details
-
getEncoded
Gets an encoded byte array.- Parameters:
checkCert
- the certificate from which a CRL URL can be obtainedurl
- 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
-