How to change Password of KeyStore File in Java?
<p>I am using java <code>KeyStore</code> to store user secure information and locking (encrypting) the key store with password and retrieving the information with password when needed, which is working fine.</p>

<p>But i don't know how to change the password for the same keyStore file</p>

<p>i am using <code>KeyStore.load(InputStream,Password)</code> method to accessing the keystore with user password and <code>keyStore.store(Keystore,password)</code> for writing the values into keyStore.</p>

<p>Is there any way to change the password of keyStore file.
i have checked the api documentation give here :
<a href="http://Java%20Keystore%20Documentation" rel="nofollow">http://docs.oracle.com/javase/7/docs/api/java/security/KeyStore.html</a></p>