|
|
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Now you are ready to sign the JAR file. Type the following in your command window to sign the JAR fileCount.jar, using the private key in the keystore entry aliased bysignFiles, and to name the resulting signed JAR filesCount.jar:You will be prompted for the store password (jarsigner -keystore susanstore -signedjar sCount.jar Count.jar signFilesab987c) and the private key password (kpi135).
Note: Thejarsignertool extracts the certificate from the keystore entry whose alias issignFilesand attaches it to the generated signature of the signed JAR file.
|
|
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Copyright 1995-2004 Sun Microsystems, Inc. All rights reserved.