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
Fields -
Constructor Summary
Constructors -
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, waitMethods 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:KeyStoreLoaderLoad a namedKeyStore.- Specified by:
loadin interfaceKeyStoreLoader- Parameters:
sType- theKeyStoretypepassword- an optionalPasswordProviderfor theKeyStorepassword- Returns:
- the
KeyStoreornullif no key could be loaded - Throws:
GeneralSecurityExceptionIOException
-