Package com.tangosol.net.ssl
Class EmptyKeyStoreLoader
java.lang.Object
com.tangosol.net.ssl.EmptyKeyStoreLoader
- All Implemented Interfaces:
KeyStoreLoader
A
KeyStoreLoader
that loads an empty, non-password
protected KeyStore
.- Since:
- 22.06
- Author:
- Jonathan Knight 2020.01.25
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionload
(String sType, PasswordProvider password) Load a namedKeyStore
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.net.ssl.KeyStoreLoader
createKeyStore, isEnabled, isRefreshable, load, load
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
EmptyKeyStoreLoader
public EmptyKeyStoreLoader()
-
-
Method Details
-
load
public KeyStore load(String sType, PasswordProvider password) throws GeneralSecurityException, IOException Description copied from interface:KeyStoreLoader
Load a namedKeyStore
.- Specified by:
load
in interfaceKeyStoreLoader
- Parameters:
sType
- theKeyStore
typepassword
- an optionalPasswordProvider
for theKeyStore
password- Returns:
- the
KeyStore
ornull
if no key could be loaded - Throws:
GeneralSecurityException
IOException
-