The Java keystore

The keystore file is a database containing a collection of public/private key pairs in the form of a certificate. The certificate type is usually an X.509 certificate, though other formats are supported. A key entry in the keystore holds the cryptographic keys in an encrypted format, encrypted using the password for the keystore. The key entry is usually a secret key or private key or a public key/private key pair.

A recipient of a message containing a digital signature would require a certificate containing the public key of the digital signature. The digital signature has been encrypted using a private key but can be decrypted using a public key. The public key for the decryption can be distributed in the form of a certificate. ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.