Constructor | 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 | 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 CrlClient
checkCert
- the certificate from which a CRL URL can be obtainedurl
- a CRL url if you don't want to obtain it from the certificateCrlClient.getEncoded(java.security.cert.X509Certificate, java.lang.String)
Copyright © 2018. All rights reserved.