From: "bharati lele" <bharatil@hotmail.com>
To: java-security@web2.javasoft.com
Date: Mon, 20 Apr 1998 23:53:53 PDT
Hi!
I'd been using "javakey" for generating public and private keys for a
particular ID. I am not able to use the same in jdk1.2beta3. If you
could tell me how to use my exisiting program(written in jdk1.1.5) in
jdk1.2beta3 for a particular ID.
Also, pl. tell me how do I get the public and private key generated by
keytool programmitically?More precisely I want to know an eqivalent of
IdentityScope ss = IdentityScope.getSystemScope();
Signer sig = (Signer) ss.getIdentity(args[0]);
PrivateKey priv = sig.getPrivateKey();
PublicKey pub = sig.getPublicKey();
Kindly help.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com