Re: how to know which algorithms are enabled in Firefox?

2007-04-23 Thread Glen Beasley
Ash wrote:
 On Apr 20, 2:30 pm, Gervase Markham [EMAIL PROTECTED] wrote:
   
 Nelson B wrote:
 
 But I have no idea what version of NSS was used in that version of FF,
 and I know of no way to find out, other than to download and install that
 version of FF, and then inspect the NSS files to see what version they are.
   
 You can consult my handy table 
 here:http://spreadsheets.google.com/pub?key=p49SW32nNYX3LqMK-jeDzfg

 That tells me that Firefox 1.5.0.10 used NSS 3.11.5.

 Gerv
 

 Thanks all for the info provided.

 Though I hadn't found, exactly which cryptography algorithms are in
 there. For time being I will do with the NSS version only.
If by cryptographic algorithms you mean  cipher-suites.

It is possible for you to query the cipher-suites implemented by NSS?

Example using JSS:

int ciphers[] =
org.mozilla.jss.ssl.SSLSocket.getImplementedCipherSuites();
/* find all the ciphers-suites that are turned ON  */
for (int i = 0; i  ciphers.length; i++) {
   
try {
if (SSLSocket.getCipherPreferenceDefault(ciphers[i])) {
 
System.out.println(Integer.toHexString(ciphers[i]));
 
I will complete https://bugzilla.mozilla.org/show_bug.cgi?id=378332
for jss 4.2.5. There will be sample code of the above that outputs the
text name of the cipher-suite rather than the hex value in the tests 
directory.

-glen




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

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


JSS - Open Multiple Truststores

2007-04-23 Thread Dennis Sinelnikov
Hello,

Is there a way to open more than 1 NSS truststore using JSS? 
Specifically, within the same lifecycle of the java application.

I attempted to use 
http://www.mozilla.org/projects/security/pki/jss/javadoc/org/mozilla/jss/DatabaseCloser.html
without much success.

Any tips is much appreciated.

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


Re: JSS - Open Multiple Truststores

2007-04-23 Thread Glen Beasley
Dennis Sinelnikov wrote:
 Hello,

 Is there a way to open more than 1 NSS truststore using JSS? 
 Specifically, within the same lifecycle of the java application.
   

At this time no.  The database NSS currently uses, can't be used by 
multiple processes.

The multiaccess database feature is planned but is not expected until 
NSS 3.13. Once
implemented JSS would then be able to use this feature.

http://wiki.mozilla.org/NSS:Roadmap#SQLite-Based_Multiaccess_Certificate_and_Key_Databases


-glen

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