Yongqing wrote:
> Nelson B wrote:
>> Yongqing wrote:
>>
>>> I am developing an extension for Thunderbird. I came across the mozilla
>>> website on NSS but I cannot find much information on how to use PKCS #3,
>>> Diffie Hellman Key Exchange Protocol? Does it exist? I cannot find a
>>> step by step example.
>>>
>>> Is there an example on how to use it? How can I initialise etc?
>>> Thank you.
>> You'll find examples of DH key generation and key derivation in the
>> function at this URL
>> <http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/security/nss/lib/ssl/ssl3con.c&rev=1.101#4290>
>>
> 
> Thanks Nelson. I will try to figure out what the code means. Meanwhile,
> how can I start using the library. Do I need to compile? Is there a
> ready to use library?

NSS is available as a set of shared libraries in the same folder as the
browser executable (on some platforms, maybe all).  You need to link
with the "nss3" shared library.

> Another question arise. Since I am creating an extension, how am I going
> to access the NSS library unless I include them in my source files?

You need to compile with NSS header files, and link with the nss3 shared
library.

> Thanks. =)

-- 
Nelson B

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

Reply via email to