private key and digital certificate

I have a keystore . in ordeer to know what it contains ,i opened this keystore with this command ...keytool -list -keystore DemoIdentity.jks

and i got,

Keystore type: jks

Keystore provider: SUN

Your keystore contains 1 entry

demoidentity, Jan 4, 2007, keyEntry, // is it called private key ?

Certificate fingerprint (MD5): 60:42:75:33:31:AA:9A:C6:9D:1A:CD:9F:22:8D:4A:6A // is it called certificate ?

Question :

I still dont understand what a keystore contains. does it contains "private key" + "digital certificate" ?

If so , what are private keys and digital certificate in the above contents ?

Message was edited by:

Unknown_Citizen

Message was edited by:

Unknown_Citizen

[775 byte] By [Unknown_Citizena] at [2007-11-26 20:42:59]
# 1
The content of a 'keystore' is what you, or the person who provided it, put in it. In this case it looks like all it contains it a public key certificate with an alias of 'demoidentity' .
sabre150a at 2007-7-10 2:03:04 > top of Java-index,Java Essentials,Java Programming...
# 2
No, it's a keyEntry, so it's a public/private key pair wrapped in a certificate.
ejpa at 2007-7-10 2:03:04 > top of Java-index,Java Essentials,Java Programming...