Keystore is a password protected file, and store the private key and certificate, can be generated through the JDK own keytool tools,
Keytool tool, however, does not provide a convenient way, the private key and certificate, everywhere from the keystore file
So can provide the Java JDK. Security. KeyStore class code to complete the related work,