File encryption using client certificate

2013-08-10 Thread hv
I want to encrypt/decrypt file using client certificate. I was doing it for FireFox for PC using CryptEncryptMessage(http://msdn.microsoft.com/en-us/library/windows/desktop/aa379925(v=vs.85).aspx). I want to do the same in javascript using NSS and JS-Ctypes but was not able to find any similar

Re: libnss3.so available on FireFox on Android?

2013-07-31 Thread hv
Not initializing PSM was my problem. Thanks for the help. On Tuesday, 30 July 2013 17:58:05 UTC-4, hv wrote: Hi, I was not able to open NSS on FF android. Is NSS available on FireFox on Android? I tried the follwing: var ds = Services.dirsvc.get(GreD

libnss3.so available on FireFox on Android?

2013-07-30 Thread hv
Hi, I was not able to open NSS on FF android. Is NSS available on FireFox on Android? I tried the follwing: var ds = Services.dirsvc.get(GreD, Components.interfaces.nsILocalFile); var libName = ctypes.libraryName(nss3); ds.append(libName); var nsslib = ctypes.open(ds.path); // FAILS TO OPEN