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 boolean
default boolean
Returntrue
if theCertificate
loaded previously by this loader should be refreshed.load()
Load aCertificate
.
-
Method Details
-
load
Load aCertificate
.- Returns:
- the
Certificates
orCertificate[0]
if noCertificates
were loaded - Throws:
GeneralSecurityException
IOException
-
isEnabled
default boolean isEnabled()- Returns:
true
if thisCertificateLoader
is enabled, orfalse
ifCertificateLoader
should not be used
-
isRefreshable
default boolean isRefreshable()Returntrue
if theCertificate
loaded previously by this loader should be refreshed.- Returns:
- the default implementation always returns
true
-