Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
You now have a signed JAR filesContract.jar
. Clients wanting to use the file will want to authenticate the signature. In order to do so, they need the public key corresponding to the private key used to generate the signature. You supply this by sending them a copy of the certificate containing the public key. Copy that certificate from the keystorestanstore
to a file namedStanSmith.cer
via the following:You will be prompted for the store password (keytool -export -keystore stanstore -alias signLegal -file StanSmith.cerballoon53
).Given that certificate and the signed JAR file, a client can use the
jarsigner
tool to authenticate your signature, as you will see next.
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Copyright 1995-2002 Sun Microsystems, Inc. All rights reserved.