public void store(Path path, String keyStorePassword) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException {
		OutputStream os = this.fs.create(path, true);
		this.keystore.store(os,keyStorePassword.toCharArray());
		if (os!=null) {
			os.close();
		}
	}
public void store ( Path path , String keyStorePassword ) throws KeyStoreException , NoSuchAlgorithmException , CertificateException , IOException { OutputStream os = this . fs . create ( path , true ) ; this . keystore . store ( os , keyStorePassword . toCharArray ( ) ) ; if ( os != null ) { os . close ( ) ; } }
*
Stores the keystore onto HDFS. Overwrites existing one.


@param path
@param keyStorePassword
@throws KeyStoreException
@throws NoSuchAlgorithmException
@throws CertificateException
@throws IOException