RFR: JDK-8290532: Adjust PKCS11Exception and handle more PKCS11 error codes [v3]

Valerie Peng valeriep at openjdk.org
Wed Jul 27 17:02:41 UTC 2022


On Wed, 27 Jul 2022 11:40:02 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.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Small adjustments

Marked as reviewed by valeriep (Reviewer).

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

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



More information about the security-dev mailing list