Divya Menon

Greenhorn
+ Follow
since Jun 14, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Divya Menon

Hi,

I have been trying to sign a jar file using jarsigner with keystore being my ActivKey which is PKCS#11 compliant. Please find below the Command line statement I have used:

Command line Statement:

jarsigner -keystore NONE -storetype PKCS11 -signedjar CSPOne.jar -verbose CSP.jar "SampleAlias"

Here
-->CSP.jar is the jar to be signed
-->CSPOne.jar is the name for the signed jar(which the jarsigner should return)
-->SampleAlias is the alias name of the keystore of my active key

After this,it prompts me for the keystore password:
Enter Passphrase for keystore: xxxxxx

And this is the result:

adding: META-INF/MANIFEST.MF
jarsigner error: java.lang.NullPointerException

Could somebody please let me know what the problem could be?

Thanks!
16 years ago
Hi,

I have a requirement wherein I need to find out whether jarsigner command has any option/configuration such that it would allow one to pass the hash value of the .SF file and get the signature externally and then continue with the jarsigner command which would create the .RSA file?It would be great if somebody could give some ideas on this..

Thanks!
16 years ago