Showing posts with label midlet jar sign verify. Show all posts
Showing posts with label midlet jar sign verify. Show all posts

Wednesday, October 26, 2011

Verify jad signature

Because midlet signing works a little bit differently, you need to use jadtool to verify the signature:

java -jar %wtk_home%/bin/jadtool.jar -showcert -certnum 1 -inputjad myJadFile.jad

Output of this will be something like:


Subject: C=US, ST=CA, L=Santa Clara, O=dummy CA, OU=JCT, CN=thehost
Issuer : C=US, ST=CA, L=Santa Clara, O=dummy CA, OU=JCT, CN=thehost
Serial number: 3d3ece8a
Valid from Wed Jul 24 08:58:02 PDT 2002 to Sat Jul 21 08:58:02 PDT 2012
Certificate fingerprints:
MD5: 87:7f:5e:64:c8:dd:b4:bf:35:39:76:87:99:9b:68:82
SHA: 9d:c0:88:ce:08:83:cd:e6:fe:13:8b:26:f6:b4:df:e2:da:3c:25:98
To show all certificate details:
java -jar %wtk_home%/bin/jadtool.jar -showcert  -all -inputjad <input_jadfile>