RFR: 8296787: Unify debug printing format of X.509 cert serial numbers [v9]

Ben Perez duke at openjdk.org
Tue Dec 12 00:11:01 UTC 2023


> Updated `X509CertSelector.java`, `SerialNumber.java`, and `SSLLogger`  to use same debug printing format for X.509 serial numbers. The changes are:
> -  `X509CertSelector` was `SN: 83be056904246b1a1756ac95991c74a` and now is `Serial number: 08:3B:E0:56:90:42:46:B1:A1:75:6A:C9:59:91:C7:4A`
> - `SerialNumber` was `SerialNumber: [ 083be056 904246b1 a1756ac9 5991c74a]` and now is `Serial number: 08:3B:E0:56:90:42:46:B1:A1:75:6A:C9:59:91:C7:4A`
> - `SSLLogger` was `"serial number" : "083BE056904246B1A1756AC95991C74A"` and now is `"serial number" : 08:3B:E0:56:90:42:46:B1:A1:75:6A:C9:59:91:C7:4A`

Ben Perez has updated the pull request incrementally with one additional commit since the last revision:

  updated test certs to use new serial number format

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16834/files
  - new: https://git.openjdk.org/jdk/pull/16834/files/e6951349..1b8de7f4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16834&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16834&range=07-08

  Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/16834.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16834/head:pull/16834

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



More information about the security-dev mailing list