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 CrlClient
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
CrlClient.getEncoded(java.security.cert.X509Certificate, java.lang.String)
Copyright © 1998–2019. All rights reserved.