jdk-24/jdk/test/sun/security/pkcs11
2016-10-13 00:45:38 -07:00
..
Cipher 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
ec 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
fips 8130302: jarsigner and keytool -providerClass needs be re-examined for modules 2016-07-12 09:41:49 +08:00
KeyAgreement 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
KeyGenerator 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
KeyPairGenerator 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
KeyStore 8154956: Module system implementation refresh (4/2016) 2016-05-03 09:09:57 +01:00
Mac 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
MessageDigest 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
nss 8077138: Some PKCS11 tests fail because NSS library is not initialized 2016-09-14 11:06:26 +08:00
Provider 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
rsa 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
Secmod 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
SecureRandom 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
Serialize 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
Signature 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
sslecc 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03:00
tls 8136355: CKM_SSL3_KEY_AND_MAC_DERIVE no longer available by default on Solaris 12 2016-09-23 01:08:24 +00:00
PKCS11Test.java 8164322: Test sun/security/pkcs11/PKCS11Test.java shall be updated to run on ARM platforms 2016-10-13 00:45:38 -07: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 8165689: Fix module dependencies for sun/security/pkcs11/* tests 2016-09-15 13:03:03 +03: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.