This test fails all the time on OEL 6.4 for me, not clear if this is a NSS issue or something else DEBUG= Beginning test run SecretKeysBasic... Running test with provider SunPKCS11-nss... softkey> javax.crypto.spec.SecretKeySpec@1776a ALGO=AES [RAW] VALUE=5B470CBCDF052F5764156B35BF09F069 skey1> SunPKCS11-nss DESede secret key, 168 bits (id 1, session object, not sensitive, extractable) ALGO=DESede [RAW] VALUE=499BF1520DEFA8CBF7A8547051C82F8AF280E67F38A2EAE6 skey2> SunPKCS11-nss DESede secret key, 168 bits (id 2, session object, not sensitive, extractable) ALGO=DESede [RAW] VALUE=688CD0C7B6328A0202E0583B8C37C762349E8097C1FB37F1 Number of entries: 0 NSS version = 3.1290. Test against nss Failed! ----------System.err:(8/404)---------- Exception in thread "main" java.lang.NullPointerException at SecretKeysBasic.checkSecretKeyEntry(SecretKeysBasic.java:106) at SecretKeysBasic.doTest(SecretKeysBasic.java:160) at SecretKeysBasic.main(SecretKeysBasic.java:84) at PKCS11Test.premain(PKCS11Test.java:81) at PKCS11Test.testNSS(PKCS11Test.java:359) at PKCS11Test.main(PKCS11Test.java:91) at SecretKeysBasic.main(SecretKeysBasic.java:47)
|