Re: RNG_SystemRNG

2007-01-02 Thread Nelson B
Bob Relyea wrote: > You can get to the random number generator through PK11_GenerateRandom(). Bob's answer is right. My previous answer to this question wasn't. -- Nelson B ___ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://li

Re: RNG_SystemRNG

2007-01-02 Thread Bob Relyea
Honzab wrote: Hi, I am developing an extension for Firefox that uses NSS for cryptography. I would like to use RNG_SystemRNG function to gain random noise from OS. This seems to be the best way to initialize my own secured random generator. Problem is that this function is declared in private hea

Re: How to build an app using NSS-3.11.4 with nspr-4.6.4

2007-01-02 Thread Nelson B
ben wrote: > Hi there, > I am building my app using nss-3.11.4 and nspr-4.6.4 on Windows XP. > Basically I just want to operate on my cert database. When I built my > program, > I included the following header files: > > #include "nss.h" > #include "keythi.h" > #include "certt.h" > #include "certd

Re: a server application using NSS

2007-01-02 Thread Wan-Teh Chang
Yahel Zamir wrote: 3. How should an application generate error strings? The examples at SSLsample do a very strange trick. On the other hand, selfserv on my machine simply finds no error string (for example, when using a bad certificate database, error "-8174"). I just wanted add the existi

Re: a server application using NSS

2007-01-02 Thread Wan-Teh Chang
Yahel Zamir wrote: 1. When writing an application that uses NSS, I would expect all Platform Dependent configuration to reside in some configuration file, so that the build process of the whole application will not need to be aware of these details. However, the platform name and other proper

Re: a server application using NSS

2007-01-02 Thread Nelson B
Yahel Zamir wrote: > Hi Everyone, > > I am using NSS for a server application, a multi-threaded program > running on Linux. I have encountered a number of questions, and would be > glad to know if anyone has more information. My questions are based on > following the "Overview of an SSL Applica