Re: NSS or PSM access from addon

2011-11-30 Thread Honza Bambas
Hi Filipe, sorry for delay. You may want to use nsICMS* interfaces and around (implemented as e.g. "@mozilla.org/nsCMSMessage;1", "@mozilla.org/nsCMSEncoder;1", etc) to create Cryptographic Message Syntax blobs. It is not a simple way to encrypt binary data, since you also have to manage cert

Re: NSS or PSM access from addon

2011-11-17 Thread Gervase Markham
On 16/11/11 16:38, Filipe wrote: I want to use some encryption standards on the add-on. However, a javascript implementation does not present the best efficiency. I was wondering if it is possible to use NSS or PSM as a xpcom component (like using nsIProcess or so) in order to run some crypto alg

NSS or PSM access from addon

2011-11-16 Thread Filipe
Dear all, I want to use some encryption standards on the add-on. However, a javascript implementation does not present the best efficiency. I was wondering if it is possible to use NSS or PSM as a xpcom component (like using nsIProcess or so) in order to run some crypto algorithms (like aes, rs