Date: Wed, 26 Mar 1997 09:57:32 -0800
From: Dan Harkey <dharkey@email.sjsu.edu>
To: java-security@java
Subject: Signed Jar Files
For tutorial purposes I would like to show how the META-INF files are
generated programatically in a signed Jar file. Assuming I have one
signer called Duke, the files in the META-INF files created by the Jar
and Javakey tools would be MANIFEST.MF, DUKE.SF, and DUKE.DSA. I
understand how to create MANIFEST.MF and DUKE.SF but I'm confused about
how DUKE.DSA is generated.
According to the Manifest Format spec, DUKE.DSA is a signed version of
DUKE.SF. What do I have to do to create this file programatically?
It's apparently more than just running it through the Signature class.
Are all of the classes I need to do this available to me or is Javakey
using private classes to create the file?
Thanks,
Dan Harkey