Exchanging Files [Tools] |
You now have a signed JAR filesContract.jar
. Clients that want 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 to them by sending them a copy of the certificate containing the public key. Copy that certificate from the keystore
stanstore
to a file namedStanSmith.cer
via the following:keytool -export -keystore stanstore -alias signLegal -file StanSmith.cerYou will be prompted for the store password ("balloon53", without the quotes).Given that certificate, and the signed JAR file, a client can use the jarsigner tool to authenticate your signature, as we will demonstrate next in Steps for the Contract Receiver.
Exchanging Files [Tools] |