RFR: JDK-8290532: Adjust PKCS11Exception and handle more PKCS11 error codes
Matthias Baesken
mbaesken at openjdk.org
Tue Jul 19 13:22:46 UTC 2022
The issue https://bugs.openjdk.org/browse/JDK-8282538 gave an example of the following PKCS11 exception (see attached jtr files of that bug) :
.... Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: 0xCE534351
Unfortunately the error code 0xCE534351 is currently not in the RV/errorMap table of PKCS11Exception, That's why we get this
hex code and no more descriptive output, this could be improved.
-------------
Commit messages:
- JDK-8290532
Changes: https://git.openjdk.org/jdk/pull/9555/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9555&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8290532
Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/9555.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9555/head:pull/9555
PR: https://git.openjdk.org/jdk/pull/9555
More information about the security-dev
mailing list