RFR: 8325766: Review seclibs tests for cert expiry
Matthew Donovan
mdonovan at openjdk.org
Wed Feb 19 15:55:59 UTC 2025
This PR updates the CertificateBuilder with a new method that creates a new instance with common fields (subject name, public key, serial number, validity, and key uses) filled-in. One test, IPIdentities.java, is updated to show how the method can be used to create various certificates. I attached screenshots that compare the old hard-coded certificates (left) with the new generated certificates.



-------------
Commit messages:
- 8325766: Review seclibs tests for cert expiry
Changes: https://git.openjdk.org/jdk/pull/23700/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23700&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8325766
Stats: 779 lines in 3 files changed: 154 ins; 599 del; 26 mod
Patch: https://git.openjdk.org/jdk/pull/23700.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23700/head:pull/23700
PR: https://git.openjdk.org/jdk/pull/23700
More information about the net-dev
mailing list