Can't finish key generate process.

COMEONLIU (COMEONLIU@kali.com.cn)
Wed, 22 Jul 1998 16:32:33 +0800

From: "COMEONLIU" <COMEONLIU@kali.com.cn>
To: <java-security@java.sun.com>
Subject: Can't finish key generate process.
Date: Wed, 22 Jul 1998 16:32:33 +0800

This is a multi-part message in MIME format.

------=_NextPart_000_0023_01BDB58E.5433B420
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable

Dear Sir:

I have some problem of Java Security in WinNT by JDK1.1.6.

In concole mode, I run following instructions, and got =
NullPointerException as follow. I need it work for my work, please give =
me some advice for help.

Instructions and replys are as below:

D:\>javakey -cs trustme true
Created identity [Signer]trustme[identitydb.obj][trusted]

D:\>javakey -gk trustme DSA 512
java.lang.NullPointerException
at =
sun.security.provider.Main.generateKeyPair(Main.java:1022)
at sun.security.provider.Main.generateCmd(Main.java:721)
at sun.security.provider.Main.run(Main.java:1394)
at sun.security.provider.Main.main(Main.java:1423)

D:\>javakey -l
Scope: sun.security.IdentityDatabase, source file: =
D:\\identitydb.obj

[Signer]trustme[identitydb.obj][trusted]

Thanks very much.

Gao Kai

------=_NextPart_000_0023_01BDB58E.5433B420
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">

Dear Sir:
 
    I have=20 some problem of Java Security in WinNT by JDK1.1.6.
 
    In concole mode, = I run=20 following instructions, and got NullPointerException as follow. I need = it work=20 for my work, please give me some advice for help.
 
    Instructions and = replys are=20 as below:
       =20 D:\>javakey -cs trustme = true
       =20 Created identity [Signer]trustme[identitydb.obj][trusted]
 
       =20 D:\>javakey -gk trustme DSA = 512
       =20 java.lang.NullPointerException
      &nb= sp;    =20 at=20 sun.security.provider.Main.generateKeyPair(Main.java:1022)
  = ;         =20 at=20 sun.security.provider.Main.generateCmd(Main.java:721)
  &nbs= p;        =20 at=20 sun.security.provider.Main.run(Main.java:1394)
    = ;       =20 at sun.security.provider.Main.main(Main.java:1423)
 
       =20 D:\>javakey -l
        Scope:=20 sun.security.IdentityDatabase, source file: = D:\\identitydb.obj
 
       =20 [Signer]trustme[identitydb.obj][trusted]
 
    Thanks very=20 much.
 
 
Gao Kai
------=_NextPart_000_0023_01BDB58E.5433B420--