Re: Port Mozilla NSS/JSS to smart phone platform

2010-09-06 Thread msm Li
Currently, the smartphone platform is lack of unified software/hardware security module. For example, iPhone stores certificates in the Keychain, BlackBerry stores certificates in BlackBerry device key store, Android has no such secure storage. This project is intended to provide a unified interfa

signature verification. VFY_CreateContextWithAlgorithmID help

2010-09-06 Thread tedx
I'm trying to verify the signature of a file I've signed but I don't understand where to get the sigAlgorithm and hash to pass to VFY_CreateContextWithAlgorithmID. I've googled looking for some sample code using the VFY_ apis to verify signatures but I haven't found anything that I could build off