Class ReloadableX509KeyManager
java.lang.Object
org.apache.storm.security.auth.tls.ReloadableX509KeyManager
- All Implemented Interfaces:
KeyManager
,X509KeyManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionchooseClientAlias
(String[] strings, Principal[] principals, Socket socket) chooseServerAlias
(String s, Principal[] principals, Socket socket) createKeyManager
(KeyStore keystore, String keystorePassword) String[]
getClientAliases
(String s, Principal[] principals) getKeyStore
(String keystorePath, String keystorePassword) String[]
getServerAliases
(String s, Principal[] principals)
-
Constructor Details
-
ReloadableX509KeyManager
- Throws:
Exception
-
-
Method Details
-
createKeyManager
- Throws:
Exception
-
getClientAliases
- Specified by:
getClientAliases
in interfaceX509KeyManager
-
chooseClientAlias
- Specified by:
chooseClientAlias
in interfaceX509KeyManager
-
getServerAliases
- Specified by:
getServerAliases
in interfaceX509KeyManager
-
chooseServerAlias
- Specified by:
chooseServerAlias
in interfaceX509KeyManager
-
getCertificateChain
- Specified by:
getCertificateChain
in interfaceX509KeyManager
-
getPrivateKey
- Specified by:
getPrivateKey
in interfaceX509KeyManager
-
getKeyStore
- Throws:
Exception
-