Package com.tangosol.net.ssl
Class EmptyKeyStoreLoader
- java.lang.Object
-
- com.tangosol.net.ssl.EmptyKeyStoreLoader
-
- All Implemented Interfaces:
KeyStoreLoader
public class EmptyKeyStoreLoader extends Object implements KeyStoreLoader
AKeyStoreLoader
that loads an empty, non-password protectedKeyStore
.- Since:
- 22.06
- Author:
- Jonathan Knight 2020.01.25
-
-
Field Summary
Fields Modifier and Type Field Description static KeyStoreLoader
INSTANCE
-
Constructor Summary
Constructors Constructor Description EmptyKeyStoreLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyStore
load(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 Detail
-
INSTANCE
public static final KeyStoreLoader INSTANCE
-
-
Method Detail
-
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
-
-