Newsgroup: mozilla.dev.tech.crypto
Content:
What versions of JDK and JRE do you suggest?
Is there any sample code and documentation?
JSS example code is essentially developer test code; with that understanding, the best directory to look for sample code is in the org/mozilla/jss/tests directory:
http://lxr.mozilla.org/mozilla/source/security/jss/org/mozilla/jss/tests
org/mozilla/jss/tests/CloseDBs.java
org/mozilla/jss/tests/KeyFactoryTest.java
org/mozilla/jss/tests/DigestTest.java
org/mozilla/jss/tests/JCASigTest.java
org/mozilla/jss/tests/KeyWrapping.java
org/mozilla/jss/tests/ListCerts.java
org/mozilla/jss/tests/PK10Gen.java
org/mozilla/jss/tests/SDR.java
org/mozilla/jss/tests/SelfTest.java
org/mozilla/jss/tests/SetupDBs.java
org/mozilla/jss/tests/SigTest.java
org/mozilla/jss/tests/SymKeyGen.java
org/mozilla/jss/tests/TestKeyGen.java
org/mozilla/jss/tests/SSLClientAuth.java
org/mozilla/jss/tests/ListCACerts.java
org/mozilla/jss/tests/KeyStoreTest.java
org/mozilla/jss/tests/VerifyCert.java
SSL examples:
org/mozilla/jss/tests/SSLClientAuth.java
org/mozilla/jss/ssl/SSLClient.java
org/mozilla/jss/ssl/SSLServer.java
org/mozilla/jss/ssl/SSLTest.java
Other test code that may prove useful:
org/mozilla/jss/asn1/INTEGER.java
org/mozilla/jss/asn1/SEQUENCE.java
org/mozilla/jss/asn1/SET.java
org/mozilla/jss/pkcs10/CertificationRequest.java
org/mozilla/jss/pkcs12/PFX.java
org/mozilla/jss/pkix/cert/Certificate.java
org/mozilla/jss/pkix/cmmf/CertRepContent.java
org/mozilla/jss/pkix/crmf/CertReqMsg.java
org/mozilla/jss/pkix/crmf/CertTemplate.java
org/mozilla/jss/pkix/primitive/Name.java
org/mozilla/jss/provider/javax/crypto/JSSSecretKeyFactorySpi.java
org/mozilla/jss/util/UTF8Converter.java
org/mozilla/jss/util/Base64InputStream.java
jss/samples/PQGGen.java
jss/samples/pkcs12.java
If I don't call setCipherPolicy, is the DOMESTIC policy used by default?
My SSL connection is hanging on Windows?
How can I tell which SSL/TLS ciphers JSS supports?
How can I debug my SSL connection?
Can you explain JSS SSL certificate approval callbacks?
JSS's two callbacks are:
Can I have multiple JSS instances reading separate db's?
Once JSS initialized, I can't get anymore instances with CertificateFactory.getInstance("X.509")?
CryptoManager.InitializationValues
object you pass to CryptoManager.initialize()
, set
removeSunProivider=true
.Is it possible to sign data in Java with JSS? What I am trying to do is write a Java applet that will access the Netscape certificate store, retrieve a X509 certificate and then sign some data.
How do I convert org.mozilla.jss.crypto.X509Certificate to org.mozilla.jss.pkix.cert.Certificate?
import java.io.ByteArrayInputStream; [...] Certificate cert = (Certificate) ASN1Util.decode( Certificate.getTemplate(),x509Cert.getEncoded() );
How do I convert org.mozilla.jss.pkix.cert to org.mozilla.jss.crypto.X509Certificate?
Is it possible to use JSS to acces cipher functionality from pkcs11 modules?
Can you explain token names and keys with regards to JSS?
JSS 3.2 has JCA support. When will JSS have JSSE support?