| java.lang.Object org.apache.harmony.tools.toolutils.KeyStoreLoaderSaver
KeyStoreLoaderSaver | public class KeyStoreLoaderSaver (Code) | | Class for loading and saving keystores.
|
Method Summary | |
public static KeyStore | loadStore(String path, String storeType, char[] storePass, String providerName) Creates an instance of class KeyStore and loads a keystore of the
specified type to it. | public static void | saveStore(KeyStore keyStore, String storePath, char[] storePass, boolean isVerbose) Saves a keystore to the file and protects its integrity with password. |
loadStore | public static KeyStore loadStore(String path, String storeType, char[] storePass, String providerName) throws FileNotFoundException, KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException, NoSuchProviderException(Code) | | Creates an instance of class KeyStore and loads a keystore of the
specified type to it. If the type is not specified the default one is
used. Password storePass is used to check the integrity of the keystore.
If the password is null, the integrity is not checked. If the path to the
store is not defined, an empty keystore is created.
Parameters: path - Parameters: storeType - Parameters: storePass - Parameters: providerName - throws: FileNotFoundException - throws: KeyStoreException - throws: NoSuchAlgorithmException - throws: CertificateException - throws: IOException - throws: NoSuchProviderException - |
|
|