# SecretKeys and KeyStore

Morten Helles (mhelles@post6.tele.dk)
Thu, 29 Oct 1998 19:10:28 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Julie Zhan: "Decrypt"
- Previous message: Jan Luehe: "Re: SocketPermission"
- Next in thread: Jan Luehe: "Re: SecretKeys and KeyStore"

Hi.

Looking at the APIs for JCA and JCE, I wonder how SecretKey instances
are stored in the KeyStore. Is it at all possible? (besides rewriting
the KeyStore class, of course!). The setKeyEntry() can only handle
private keys, right? If so, can a SecretKey somehow be converted to a
PrivateKey and then saved in the KeyStore?

Kind regards,

Morten.

- Next message: Julie Zhan: "Decrypt"
- Previous message: Jan Luehe: "Re: SocketPermission"
- Next in thread: Jan Luehe: "Re: SecretKeys and KeyStore"