Package com.tangosol.net.ssl
Interface CertificateLoader
-
- All Known Implementing Classes:
AbstractCertificateLoader,URLCertificateLoader
public interface CertificateLoaderA class that can load an array ofcertificates.- Since:
- 22.06
- Author:
- Jonathan Knight 2020.01.25
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanisEnabled()default booleanisRefreshable()Returntrueif theCertificateloaded previously by this loader should be refreshed.Certificate[]load()Load aCertificate.
-
-
-
Method Detail
-
load
Certificate[] load() throws GeneralSecurityException, IOException
Load aCertificate.- Returns:
- the
CertificatesorCertificate[0]if noCertificateswere loaded - Throws:
GeneralSecurityExceptionIOException
-
isEnabled
default boolean isEnabled()
- Returns:
trueif thisCertificateLoaderis enabled, orfalseifCertificateLoadershould not be used
-
isRefreshable
default boolean isRefreshable()
Returntrueif theCertificateloaded previously by this loader should be refreshed.- Returns:
- the default implementation always returns
true
-
-