Package com.tangosol.net.ssl
Interface CertificateLoader
- All Known Implementing Classes:
AbstractCertificateLoader,URLCertificateLoader
public interface CertificateLoader
A class that can load an array of
certificates.- Since:
- 22.06
- Author:
- Jonathan Knight 2020.01.25
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault booleanReturntrueif theCertificateloaded previously by this loader should be refreshed.load()Load aCertificate.
-
Method Details
-
load
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
-