public class CrlClientOffline extends Object implements ICrlClient
| Constructor and Description |
|---|
CrlClientOffline(byte[] crlEncoded)
Creates an instance of a CrlClient in case you
have a local cache of the Certificate Revocation List.
|
CrlClientOffline(CRL crl)
Creates an instance of a CrlClient in case you
have a local cache of the Certificate Revocation List.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<byte[]> |
getEncoded(X509Certificate checkCert,
String url)
Returns the CRL bytes (the parameters are ignored).
|
public CrlClientOffline(byte[] crlEncoded)
crlEncoded - the CRL bytespublic CrlClientOffline(CRL crl)
crl - a CRL objectpublic Collection<byte[]> getEncoded(X509Certificate checkCert, String url)
getEncoded in interface ICrlClientcheckCert - 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.ICrlClient.getEncoded(java.security.cert.X509Certificate, java.lang.String)Copyright © 1998–2021 iText Group NV. All rights reserved.