Package uk.ac.starlink.auth.ssl
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:
chooseClientAlias
in interfaceX509KeyManager
-
chooseServerAlias
- Specified by:
chooseServerAlias
in interfaceX509KeyManager
-
getCertificateChain
- Specified by:
getCertificateChain
in interfaceX509KeyManager
-
getClientAliases
- Specified by:
getClientAliases
in interfaceX509KeyManager
-
getPrivateKey
- Specified by:
getPrivateKey
in interfaceX509KeyManager
-
getServerAliases
- Specified by:
getServerAliases
in interfaceX509KeyManager
-