# generating keys

Dan Ascheman (dan.ascheman@medtronic.com)
Mon, 12 Jan 1998 13:51:59 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Charlie Lai: "Re: Re : Security"
- Previous message: Sheng Liang: "Re: URGENT Question: JNI, Security, and multiple instances"
- Next in thread: Charlie Lai: "Re: generating keys"

    Message-Id: <s4ba2015.021@mspeos0.corp.medtronic.com>

    Date: Mon, 12 Jan 1998 13:51:59 -0600

    From: Dan Ascheman <dan.ascheman@medtronic.com>

    To: java-security@web2.javasoft.com

    Subject: generating keys

Hi,
I am attempting to generate a public and private key, and my question is
- how long does it take JVM to generate a pair of keys using this code:
(I am using the DSA alogorithm with the standard Provider.class.)
(And I am using SecureRandom() for a random number)

Keypair myPair = keyGen.generateKeyPair();

it seems to take forever - it's like it gets stuck there - how do I know
it's doing anything?

I will gladly send all of my code (1 page) if that would help decipher a
problem - however, the code is pretty straight forward.

thanks,
Dan Ascheman

- Next message: Charlie Lai: "Re: Re : Security"
- Previous message: Sheng Liang: "Re: URGENT Question: JNI, Security, and multiple instances"
- Next in thread: Charlie Lai: "Re: generating keys"