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.

Author:
Paulo Soares

Method Summary
 Collection<byte[]> getEncoded(X509Certificate checkCert, String url)
          Gets an encoded byte array.
 

Method Detail

getEncoded

Collection<byte[]> getEncoded(X509Certificate checkCert,
                              String url)
Gets an encoded byte array.

Parameters:
checkCert - the certificate from which a CRL URL can be obtained
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


Copyright © 2013. All Rights Reserved.