public class SecurityUtil extends Object
public static KeyStore loadKeystore(String keystoreType, String keystore, String keystorePassword) throws Exception
KeyStore instance and loads the content of the specified file.keystoreType - a keystore type name supported by the JVM (for example "jks" or "pkcs12")keystore - path to the keystore file to loadkeystorePassword - the password protecting the keystore file, or nullKeyStore which content is loaded from the keystore fileException - if the keystore type is not supported or if the file cannot be readCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.