public class SSLJiveKeyManagerFactory extends Object
| Constructor and Description |
|---|
SSLJiveKeyManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static KeyManager[] |
getKeyManagers(KeyStore keystore,
String keypass) |
static KeyManager[] |
getKeyManagers(String storeType,
String keystore,
String keypass)
Creates a KeyManager list which is null if the storeType is null, or
is a standard KeyManager that uses a KeyStore of type storeType,
located at 'keystore' location under home, and uses 'keypass' as
the password for the keystore password and key password.
|
public static KeyManager[] getKeyManagers(String storeType, String keystore, String keypass) throws NoSuchAlgorithmException, KeyStoreException, IOException, CertificateException, UnrecoverableKeyException
storeType - The type of keystore (e.g. "JKS") to use or null to indicate no keystore should be usedkeystore - The relative location of the keystore under homekeypass - The password for the keystore and keyNoSuchAlgorithmException - If the keystore type doesn't exist (not provided or configured with your JVM)KeyStoreException - If the keystore is corruptIOException - If the keystore could not be located or loadedCertificateException - If there were no certificates to be loaded or they are invalidUnrecoverableKeyException - If they keystore coud not be opened (typically the password is bad)public static KeyManager[] getKeyManagers(KeyStore keystore, String keypass)
Copyright © 2003-2008 Jive Software.