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) void
reset()
void
setKeystore
(File serverKeystore, char[] pw) void
setKeystore
(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:
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
-