The PK11_PQG_ functions operate on PQGParams, so we declare pqgParams as
a pointer to PQGParams, and cast a SECKEYParams pointer to a PQGParams
pointer. (SECKEYParams and PQGParams are isomorphic.) r=nelson.
git-svn-id: svn://10.0.0.236/trunk@195317 18797224-902f-48f8-a5cc-f745e15eee43
Back out changes by rrelyea (2006-02-10) and glen.beasley (2006-02-14).
r+: wtc
git-svn-id: svn://10.0.0.236/trunk@190036 18797224-902f-48f8-a5cc-f745e15eee43
90 sec. Smaller timeout was causing the server to die before client connected.
sr=glen.beasley r=alexei.volkov
git-svn-id: svn://10.0.0.236/trunk@188072 18797224-902f-48f8-a5cc-f745e15eee43
Added synchronized block and isClosed for getInetAddress(),
getLocalAddress(), and getLocalPort(). sr=glen.beasley
git-svn-id: svn://10.0.0.236/trunk@185410 18797224-902f-48f8-a5cc-f745e15eee43
Missed some System.exit(0) and reverted SigTest.java to original format.
sr=glen.beasley
git-svn-id: svn://10.0.0.236/trunk@185227 18797224-902f-48f8-a5cc-f745e15eee43
4.1001 for 4.10.1 when used in the constructor. Human readable values
will still be 4.2 or 4.10.1 sr=wtc
git-svn-id: svn://10.0.0.236/trunk@184942 18797224-902f-48f8-a5cc-f745e15eee43
Added System.exit(0) and System.exit(1) where appropriate. Also removed
references to deprecated code and deprecated the test SigTest.java. This
is now replaced by JCASigTest.java. sr=Glen.Beasley
git-svn-id: svn://10.0.0.236/trunk@184609 18797224-902f-48f8-a5cc-f745e15eee43
symmetric keys and public/private key pairs. The patch is contributed by
Thomas Kwan of Red Hat. r=wtc. sr=glen.beasley.
Modified Files:
org/mozilla/jss/crypto/KeyGenerator.java
org/mozilla/jss/crypto/KeyPairGenerator.java
org/mozilla/jss/crypto/KeyPairGeneratorSpi.java
org/mozilla/jss/pkcs11/PK11KeyGenerator.c
org/mozilla/jss/pkcs11/PK11KeyGenerator.java
org/mozilla/jss/pkcs11/PK11KeyPairGenerator.c
org/mozilla/jss/pkcs11/PK11KeyPairGenerator.java
git-svn-id: svn://10.0.0.236/trunk@184603 18797224-902f-48f8-a5cc-f745e15eee43
Rounding of double(4) + double(1)/10 to two decimal places gives 4.21.
Fixed this issue. sr=glen.beasley
git-svn-id: svn://10.0.0.236/trunk@184595 18797224-902f-48f8-a5cc-f745e15eee43
JSSProvider.java. Reflected this information in all places that needs
to be changed when there is a change in JSS version. r=wtc
git-svn-id: svn://10.0.0.236/trunk@183173 18797224-902f-48f8-a5cc-f745e15eee43
to make the new PK11_ATTR_EXTRACTABLE/PK11_ATTR_UNEXTRACTABLE flags of the
new PK11_GenerateKeyPairWithFlags function available to JSS. r=nkwan.
sr=glen.beasley.
Modified Files:
crypto/KeyPairGenerator.java crypto/KeyPairGeneratorSpi.java
pkcs11/PK11KeyPairGenerator.c pkcs11/PK11KeyPairGenerator.java
git-svn-id: svn://10.0.0.236/trunk@183140 18797224-902f-48f8-a5cc-f745e15eee43
Removed the class name and provider name of the SUN provider. Instead,
we compare our message digest result with the result of all providers that
support the message digest algorithm. The patch is contributed by Rich
Megginson of Red Hat and improved by Glen Beasley of Sun. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@182517 18797224-902f-48f8-a5cc-f745e15eee43
Add an extra line to the copyright file to have the same as NSS and NSPR.
git-svn-id: svn://10.0.0.236/trunk@181257 18797224-902f-48f8-a5cc-f745e15eee43