I want to take a public key .cer file generated from java keytool command like this:
"keytool -export -alias privatekey -file publickey.cer -keystore privateKeys.store"
and import it into a new, empty java keystore like this:
"keytool -import -alias publiccert -file publickey.cer -keystore publicCerts.store"
except I want to do the import programmatically, using JSSE.
Stack Overlords, work your magic! Thanks!