jdk-24/jdk/test/sun/security/pkcs11
John Jiang 48706a1a2a 8167146: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed with "Remote host terminated the handshake"
The fix takes the server to accept request after the client threads start, and also deal with possible timeout issue.

Reviewed-by: xuelei
2017-01-16 15:16:10 +08:00
..
Cipher 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
ec 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
fips 8130302: jarsigner and keytool -providerClass needs be re-examined for modules 2016-07-12 09:41:49 +08:00
KeyAgreement 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
KeyGenerator 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
KeyPairGenerator 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
KeyStore 8154956: Module system implementation refresh (4/2016) 2016-05-03 09:09:57 +01:00
Mac 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
MessageDigest 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
nss 8077138: Some PKCS11 tests fail because NSS library is not initialized 2016-09-14 11:06:26 +08:00
Provider 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
rsa 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
Secmod 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
SecureRandom 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
Serialize 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
Signature 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
sslecc 8167146: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed with "Remote host terminated the handshake" 2017-01-16 15:16:10 +08:00
tls 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
PKCS11Test.java 8170523: Some PKCS11 test cases are ignored with security manager 2016-12-05 19:06:55 -08:00
policy 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
README 8020424: The NSS version should be detected before running crypto tests 2013-07-29 13:43:24 -07:00
SampleTest.java 8171201: Drop java.compact$N aggregator modules 2016-12-14 10:51:13 -08:00
SecmodTest.java 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013 2013-12-26 12:04:16 -08:00

This README is to keep a list facts and known workaround for the pkcs11 java tests
perform as a result of bugs or features in NSS or other pkcs11 libraries.

- NSS ECC None/Basic/Extended
The tests detect the NSS library support for Elliptic Curves as to not
report incorrect failures.  PKCS11 reports back CKR_DOMAIN_PARAMS_INVALID
when the curve is not supported.

- Default libsoftokn3.so
By default PKCS11Test.java will look for libsoftokn3.so.  There are a number of
tests, particularly in Secmod, that need libnss3.so.  The method useNSS() in
PKCS11test.java is to change the search and version checking to libnss3.

ECC Basic supports is secp256r1, secp384r1, and secp521r1.

- A bug in NSS 3.12 (Mozilla bug 471665) causes AES key lengths to be
read incorrectly. KeyStore/SecretKeysBasic.java tiggers this bug and
knows to avoid it.

- A number of EC tests fail because of a DER bug in NSS 3.11.  The best guess
is Mozilla bug 480280.  Those tests that abort execution with a PASS result
are:  TestECDH2, TestECDSA, TestECDSA2 and TestECGenSpec.