# JCE Newbie Questions

Jay Zimmett (jayz@amcc.com)
Tue, 23 Feb 1999 16:02:33 -0800

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Johnny, KU Chong Man: "[javakey] create DSA key pair"
- Previous message: Jan Luehe: "Re: NewsGroup"

    Date: Tue, 23 Feb 1999 16:02:33 -0800

    From: "Jay Zimmett" <jayz@amcc.com>

    To: java-security@java.sun.com

    Subject: JCE Newbie Questions

This is a multi-part message in MIME format.
--------------67C12B3624C1922325825897
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Question 1:

I have succusfully created a java program that generates a
Diffie-Hellman key and then uses KeyAgreement to generate a secretkey
(des) to use with a cipher encryption. Life is good... I can
encrypt/decrypt data.

But I would like to be able to use a keystore and your utility to manage
my keys, I created a keystore entry (from the command line) which
generated a DSA key pair, I can load the keys from the database and
extract the private and certificate (public key), but I can not find
anyway of generating a keyagreement to create a cipher. There does not
seem to be any algorithm support for DSA. Can you enlighten me?

Question 2:

If there is no support for DSA keyagreements, can I store my DH keys in
the keystore and still use the keystore utility? If so, how do I
generate a certificate from my public DH key for setKeyEntry? I can't
seem to find the correct api's.

Thanks.

--------------67C12B3624C1922325825897
Content-Type: text/x-vcard; charset=us-ascii;
name="jayz.vcf"
Content-Description: Card for Jay Zimmett
Content-Disposition: attachment;
filename="jayz.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard
adr;dom:;;;San Diego;CA;92121;
n:Zimmett;Jay
x-mozilla-html:TRUE
org:AMCC
version:2.1
email;internet:jayz@amcc.com
title:Director, Information Technology
tel;fax:619-450-9885
tel;work:619-535-6586
note;quoted-printable:=0D=0A
x-mozilla-cpt:;0
fn:Jay Zimmett
end:vcard

--------------67C12B3624C1922325825897--

- Next message: Johnny, KU Chong Man: "[javakey] create DSA key pair"
- Previous message: Jan Luehe: "Re: NewsGroup"