eu.emi.client.security.util
Class KeystoreChecker
java.lang.Object
eu.emi.client.security.util.KeystoreChecker
public class KeystoreChecker
- extends Object
Checks if provided truststore/keystore settings are valid.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeystoreChecker
public KeystoreChecker()
findAlias
public static String findAlias(KeyStore ks)
throws KeyStoreException
- Throws:
KeyStoreException
validateTruststore
public static void validateTruststore(String file,
String password,
String type)
throws Exception
- Throws:
Exception
validateKeystore
public static void validateKeystore(String file,
String password,
String keyPassword,
String type,
String alias)
throws Exception
- Throws:
Exception
Copyright © 2012 EMI. All Rights Reserved.