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 |
getEncoded(X509Certificate checkCert, String url)
Returns the CRL bytes (the parameters are ignored).
|
public CrlClientOffline(byte[] crlEncoded)
crlEncoded
- the CRL bytes
public CrlClientOffline(CRL crl)
crl
- a CRL object
public CollectiongetEncoded(X509Certificate checkCert, String url)
getEncoded
in interface ICrlClient
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.
ICrlClient.getEncoded(java.security.cert.X509Certificate, java.lang.String)
Copyright © 1998–2020 iText Group NV. All rights reserved.