Re: how to access and use NSS certificate functions From a Firefox extension code?

2014-02-12 Thread David Keeler
These interfaces might be helpful: https://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/public/nsIX509CertDB.idl (see in particular verifyCertNow, although that's more of a testing function and is subject to change) https://mxr.mozilla.org/mozilla-central/source/security/manager/ssl

Java AES GCM

2014-02-12 Thread Mark Christiaens
I'm trying to do AES GCM TLS 1.2 in Java using NSS. It works but it's very slow. My setup: - Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - Ubuntu 13.10 64 bit - Library NSS 3.15.4 - Java(TM) SE Runtime Environment (build 1.8.0-ea-b121) I've configured the jre/lib/security/java.security file: ...

how to access and use NSS certificate functions From a Firefox extension code?

2014-02-12 Thread WebDoctor
I'm currently working on a project where i need to validate a certificate send by the web application to the browser in an HTTP header. In fact, I don't need an implementation of HTTPS in this project, I only need to validate the Base64 received certificate with the same process used in the HTT