Package com.sun.grid.security.login
Class GECAKeyManager
java.lang.Object
com.sun.grid.security.login.GECAKeyManager
- All Implemented Interfaces:
KeyManager,X509KeyManager
The GECAKeyManager handles the specific KeyManager properties
of a Grid Engine CSP system
-
Constructor Summary
ConstructorsConstructorDescriptionGECAKeyManager(File serverKeystore, char[] pw) Creates a new instance of GECAKeyManager. -
Method Summary
Modifier and TypeMethodDescriptionchooseClientAlias(String[] keyType, Principal[] arg1, Socket arg2) chooseServerAlias(String arg0, Principal[] arg1, Socket arg2) getCertificateChain(String arg0) String[]getClientAliases(String arg0, Principal[] arg1) getPrivateKey(String arg0) String[]getServerAliases(String arg0, Principal[] arg1) voidreset()voidsetKeystore(File serverKeystore, char[] pw) voidsetKeystore(KeyStore serverKeystore, char[] pw)
-
Constructor Details
-
GECAKeyManager
public GECAKeyManager() -
GECAKeyManager
Creates a new instance of GECAKeyManager.- Parameters:
serverKeystore- keystore file of the daemonpw- keystore password- Throws:
SecurityException
-
-
Method Details
-
setKeystore
- Throws:
SecurityException
-
setKeystore
- Throws:
SecurityException
-
reset
public void reset() -
getClientAliases
- Specified by:
getClientAliasesin interfaceX509KeyManager
-
chooseClientAlias
- Specified by:
chooseClientAliasin interfaceX509KeyManager
-
getServerAliases
- Specified by:
getServerAliasesin interfaceX509KeyManager
-
chooseServerAlias
- Specified by:
chooseServerAliasin interfaceX509KeyManager
-
getCertificateChain
- Specified by:
getCertificateChainin interfaceX509KeyManager
-
getPrivateKey
- Specified by:
getPrivateKeyin interfaceX509KeyManager
-