Package com.tangosol.net.ssl
Interface CertificateLoader
-
- All Known Implementing Classes:
AbstractCertificateLoader
,URLCertificateLoader
public interface CertificateLoader
A 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 boolean
isEnabled()
default boolean
isRefreshable()
Returntrue
if theCertificate
loaded previously by this loader should be refreshed.Certificate[]
load()
Load aCertificate
.
-
-
-
Method Detail
-
load
Certificate[] load() throws GeneralSecurityException, IOException
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
-
-