Hi friends, i am trying to write a program that create a key store. I write this:
....
KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());
keystore.setKeyEntry(alias, privateKey, keyPass.toCharArray(), chain);
....
I get the Uninitialized keystore exception, my question is how to initialise the key store? Thank you for reply.