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 API. Is there one?

The closest i found was using XPCOM nsICMSSecureMessage's sendMessage 
(https://mxr.mozilla.org/mozilla-central/source//security/manager/ssl/public/nsICMSSecureMessage.idl).
 Any idea about the encryption algorithm used in nsICMSSecureMessage? 

Thanks
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to