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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<byte[]>
getEncoded(java.security.cert.X509Certificate checkCert, java.lang.String url)
Gets an encoded byte array.
-
-
-
Method Detail
-
getEncoded
java.util.Collection<byte[]> getEncoded(java.security.cert.X509Certificate checkCert, java.lang.String url)
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
-
-