JSSMessageDigest

2012-04-04 Thread Paula Decker
Hello, The Mozilla api documentation shows that org.mozilla.jss.crypto.JSSMessageDigest class has been deprecated. How can I create a SHA1 hash using JSS? Thanks. -Paula -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

JSSMessageDigest

2012-04-04 Thread pdecker
Hello, The Mozilla api documentation shows that org.mozilla.jss.crypto.JSSMessageDigest class has been deprecated. How can I create a SHA1 hash using JSS? Thanks. -Paula -- View this message in context: http://old.nabble.com/JSSMessageDigest-tp33545038p33545038.html Sent from the Mozilla -

Add other signed attributes in CMS

2012-04-04 Thread Jamil Nimeh
Hello all, I was wondering if folks know the best way to add additional signed attributes to CMS signed data messages. I see in cms.h there's a NSS_CMSSignerInfo_AddAutiAttr function, but it doesn't appear to be exported (at least, I get undefined reference errors when I try to use it). I'm

Re: Alternative for SGN_DecodeDigestInfo

2012-04-04 Thread Wan-Teh Chang
On Wed, Apr 4, 2012 at 4:39 PM, Brian Smith wrote: > > I don't know what platform JV is on, but I know on Mac OS X, > all the internal symbols in FreeBL and maybe other libraries > are exported. This is how the Firefox Sync developers got > so far in developing their JavaScript implementation of J

Re: Alternative for SGN_DecodeDigestInfo

2012-04-04 Thread Brian Smith
Robert Relyea wrote: > On 03/24/2012 03:05 PM, VJ wrote: > > I'm trying to use RSA_HashCheckSign() function to verify the > > message. > How are you even Linking with RSA_HashCheckSign()? I don't know what platform JV is on, but I know on Mac OS X, all the internal symbols in FreeBL and maybe oth

Re: To NSS-Java or not to NSS-Java, thats the question.

2012-04-04 Thread Brian Smith
helpcrypto helpcrypto wrote: > IMHO, this is some that needs some clarification, as Mozilla *IS* > supporting it developing JSS but at the same time saying "we do not > support it", Some people who are part of the Mozilla project maintain JSS. I will help review patches to JSS if/when the member

Re: Recent builds of NSS on Windows?

2012-04-04 Thread Brian Smith
> Today, a buggy old/legacy modutil.exe binary we are using, made me > try building NSS using mingw. Once again. The only way I recommend building NSS on Windows is with Microsoft Visual C++ and the mozilla-build package located at https://developer.mozilla.org/en/Windows_Build_Prerequisites#Moz

Re: cert8.db rewrite reasons and exceptions?

2012-04-04 Thread Wan-Teh Chang
On Wed, Apr 4, 2012 at 12:47 PM, Anders Rundgren wrote: > > Mozilla should IMO rather hook into the > other vendors cryptographic solution, possibly at the expense of NSS. > > According to a [colleage] of mine Chrome even use the platform's SSL > implementation!  Well, not in *NIX since there is n

Re: cert8.db rewrite reasons and exceptions?

2012-04-04 Thread Anders Rundgren
On 2012-04-04 13:04, helpcrypto helpcrypto wrote: > IIRC, NSS doesnt have an official mantainer on Mozilla bugs, isnt it? > If this happens, its probably the source of many problems here. I have > filed a few bugs and most of then arent even checked. > To be fair & honest, im also guilty of that, b

Re: cert8.db rewrite reasons and exceptions?

2012-04-04 Thread helpcrypto helpcrypto
IIRC, NSS doesnt have an official mantainer on Mozilla bugs, isnt it? If this happens, its probably the source of many problems here. I have filed a few bugs and most of then arent even checked. To be fair & honest, im also guilty of that, but i dont feel confident enough to edit Mozilla source. Co

Re: cert8.db rewrite reasons and exceptions?

2012-04-04 Thread Anders Rundgren
On 2012-04-02 21:07, Robert Relyea wrote: > On 03/27/2012 01:00 AM, helpcrypto helpcrypto wrote: >> Cough, cough...exit(CKR_OK) != return CKR_OK...cough, cough >> Now cert8 is modified always (with or without our module). >> >> Anyway, can someone tell me why cert8 is rewrited on each run/close? >