hi again, yeah i googled the last days very much about this topic. so i found out the best solution for me would be so access the softokn3.dll with PKCS#11 Provider in java.
i tried a little bit and wrote a small code. but it does not work. i got the Error parsing configuration, Unexpected token[] error in line 3. here is my little peace of code an my config file for it. Code: String configName = "D:\\test.cfg"; Provider p = new sun.security.pkcs11.SunPKCS11(configName); Security.addProvider(p); Provider[] providers = Security.getProviders(); for ( int i=0; i < providers.length; i++ ) { System.out.println("Provider " +i+ ": " + providers[i].getName()); } Config: name=NSS library="C:\\Program Files (x86)\\Mozilla Firefox\\softokn3.dll" nssArgs="configdir='C:/Users/Matthias/AppData/Roaming/Mozilla/Firefox/Profiles/2zd6f6ww.default-1387886878940' certPrefix='' keyPrefix='' secmod='secmod.db' flags=readOnly" slot=2 i tried it without "" and with "\" and "\\", but nothing worked. can you help me? -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto