Integrated: 8349759: Add unit test for CertificateBuilder and SimpleOCSPServer test utilities
Jamil Nimeh
jnimeh at openjdk.org
Fri Feb 21 20:32:58 UTC 2025
On Tue, 11 Feb 2025 17:50:45 GMT, Jamil Nimeh <jnimeh at openjdk.org> wrote:
> This fix makes some minor changes to the internals of the `CertificateBuilder` and `SimpleOCSPServer` test classes. They would break when ML-DSA was selected as key and signing algorithms. Also RSASSA-PSS works better now with these changes. I've also taken this opportunity to do some cleanup on CertificateBuilder and added a method which uses a default signing algorithm based on the key, so the `build()` method no longer needs to provide that algorithm (though one can if they wish for things like RSA signatures if they want a different message digest in the signature).
This pull request has now been integrated.
Changeset: 9d9d7a17
Author: Jamil Nimeh <jnimeh at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9d9d7a17d3d1a8971712ef1b22e919012350db6f
Stats: 329 lines in 3 files changed: 270 ins; 21 del; 38 mod
8349759: Add unit test for CertificateBuilder and SimpleOCSPServer test utilities
Reviewed-by: mullan
-------------
PR: https://git.openjdk.org/jdk/pull/23566
More information about the core-libs-dev
mailing list