Class for loading the main keystore, saving ang changing its password.
Method Summary
static void
loadStore(KeytoolParameters param) Creates an instance of class KeyStore and loads a keystore to it.
param.getStorePass() is used to check the integrity of the keystore.
static void
saveStore(KeytoolParameters param) Saves the main keystore to the file and protects its integrity with
password.
Creates an instance of class KeyStore and loads a keystore to it.
param.getStorePass() is used to check the integrity of the keystore. If
the password is not set in param, the integrity is not checked. If the
path to the store is not defined an empty keystore is created.
Parameters: param - -KeytoolParameters object which is used to get path to thestore and password to unlock it or check its integrity. throws: NoSuchAlgorithmException - throws: CertificateException - throws: FileNotFoundException - throws: IOException - throws: KeyStoreException - throws: NoSuchProviderException -