I understand that keystore is a password guarded database containing certificates, keys and alias. What I am uncertain is about the key. Some source says it is public key, some source says it is private key. Some source says both public key and private key. Is there a definite answer?
posted 15 years ago
The keystore can hold both private and public keys referenced by alias. There is no special difference between the 2 key types but this just relates to whether you got it from someone else (they have made it public) or whether it is your own private key (which you keep private). Hope this helps...