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(java.security.cert.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 |
---|---|
java.util.Collection<byte[]> |
getEncoded(java.security.cert.X509Certificate checkCert,
java.lang.String url)
Returns the CRL bytes (the parameters are ignored).
|
public CrlClientOffline(byte[] crlEncoded)
crlEncoded
- the CRL bytespublic CrlClientOffline(java.security.cert.CRL crl)
crl
- a CRL objectpublic java.util.Collection<byte[]> getEncoded(java.security.cert.X509Certificate checkCert, java.lang.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 © 2013. All Rights Reserved.