Class BasicX509KeyManager
java.lang.Object
uk.ac.starlink.auth.ssl.BasicX509KeyManager
- All Implemented Interfaces:
KeyManager, X509KeyManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchooseClientAlias(String[] strings, Principal[] prncpls, Socket socket) chooseServerAlias(String string, Principal[] prncpls, Socket socket) getCertificateChain(String alias) String[]getClientAliases(String keyType, Principal[] prncpls) getPrivateKey(String alias) String[]getServerAliases(String keyType, Principal[] prncpls)
-
Constructor Details
-
BasicX509KeyManager
Constructor.- Parameters:
km- underlying KeyManager this class delegates toalias- the alias of the X509 certificate we always use
-
-
Method Details
-
chooseClientAlias
- Specified by:
chooseClientAliasin interfaceX509KeyManager
-
chooseServerAlias
- Specified by:
chooseServerAliasin interfaceX509KeyManager
-
getCertificateChain
- Specified by:
getCertificateChainin interfaceX509KeyManager
-
getClientAliases
- Specified by:
getClientAliasesin interfaceX509KeyManager
-
getPrivateKey
- Specified by:
getPrivateKeyin interfaceX509KeyManager
-
getServerAliases
- Specified by:
getServerAliasesin interfaceX509KeyManager
-