# Re: Keytool

Jan Luehe (Jan.Luehe@Eng)
Tue, 21 Apr 1998 09:29:42 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jan Luehe: "Re: Your Message Sent on Mon, 20 Apr 1998 23:53:53 PDT"
- Previous message: Leibman, Alexander B: "Java Security problems"
- Maybe in reply to: bharati lele: "Keytool"

    Date: Tue, 21 Apr 1998 09:29:42 -0700 (PDT)

    From: Jan Luehe <Jan.Luehe@Eng>

    Subject: Re: Keytool

    To: java-security@web1.javasoft.com, bharatil@hotmail.com

Bharati:

> I want to know how do I get public key from a keystore. In KeyStore
> class I've only method to find out private key(getPrivateKey()).
> Pl.help.

Public keys are stored as certificates in your keystore.
To retrieve them, call the "getCertificate" method.

Jan

- Next message: Jan Luehe: "Re: Your Message Sent on Mon, 20 Apr 1998 23:53:53 PDT"
- Previous message: Leibman, Alexander B: "Java Security problems"
- Maybe in reply to: bharati lele: "Keytool"