Re: Signing applets outside of the US???

Jan Luehe (luehe@laguna.eng.sun.com)
Wed, 18 Nov 1998 18:45:18 -0800 (PST)

> When I issue the command "javakey -gk myname DSA 1024", I get a
> null-pointer-exception. I work with the version JDK 1.1.6. Has this
> anything to do with the fact that key-generation is not supported in
> this version of Java?

No, this was simply a bug in 1.1.6, which has been fixed in 1.1.7.
As a workaround for 1.1.6, you need to specify the files where the
public and private components of the keypair will be stored, e.g.:

javakey -gk myname DSA 1024 pub_file priv_file
Generated DSA keys for myname (strength: 1024).
Saved public key to pub_file.
Saved private key to priv_file.

Jan