Message-Id: <199801190946.RAA05200@dragon.cpisn.cn.net>
Date: Mon, 19 Jan 1998 17:46:50 +0800 (CST)
From: pan <pan@jcc.cpisn.cn.net>
Subject: about javakey
To: java-security@web1.javasoft.com
hi,
I have some questions to need your help about signed jar file:
1) after generate a pair of key, how to combine them to the jar file? I can not
find that in the 7 step of create a signed file?
2) in the command: javakey -gc cert_directive, is it creating the certificate
for the signer? for example, Duke? If so, how to include the public key with the
certificate?
3) You tell me that I can use "javakey -gs sign.directive demo.jar" to sign a
jar file. but in file sign.directive, there has no the key generated in the step
3. Is the key combined with the jar file in this step? (maybe this question is
same as question 1).
4) When I create a signed jar file, I should sign it using the private key.
but how the public key can be got by the user? That is, how the certificate
can be got by the user?
I really have something confused after I read the document about jar and
javakey. So pls give me some help.
thanx & rgds,
Colin