Package com.tangosol.net.ssl
Interface PrivateKeyLoader
- All Known Implementing Classes:
- AbstractPrivateKeyLoader,- URLPrivateKeyLoader
public interface PrivateKeyLoader
A class that can create a 
PrivateKey.- Since:
- 22.06
- Author:
- Jonathan Knight 2020.01.25
- 
Method SummaryModifier and TypeMethodDescriptiondefault booleandefault booleanReturntrueif thePrivateKeyloaded previously by this loader should be refreshed.load(PasswordProvider password) Load a namedPrivateKey.
- 
Method Details- 
loadLoad a namedPrivateKey.- Parameters:
- password- an optional- PasswordProviderfor encrypted keys
- Returns:
- the PrivateKeyornullif no key could be loaded
- Throws:
- GeneralSecurityException
- IOException
 
- 
isEnableddefault boolean isEnabled()- Returns:
- trueif this- PrivateKeyLoaderis enabled, or- falseif- PrivateKeyLoadershould not be used
 
- 
isRefreshabledefault boolean isRefreshable()Returntrueif thePrivateKeyloaded previously by this loader should be refreshed.- Returns:
- the default implementation always returns true
 
 
-