Integrated: JDK-8290532: Adjust PKCS11Exception and handle more PKCS11 error codes

Matthias Baesken mbaesken at openjdk.org
Thu Jul 28 07:34:27 UTC 2022


On Tue, 19 Jul 2022 13:14:17 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 07f0612c
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/07f0612c9aa5641491516d9a0232392689d4c1ca
Stats:     25 lines in 1 file changed: 23 ins; 0 del; 2 mod

8290532: Adjust PKCS11Exception and handle more PKCS11 error codes

Reviewed-by: valeriep

-------------

PR: https://git.openjdk.org/jdk/pull/9555



More information about the security-dev mailing list