Integrated: 8296787: Unify debug printing format of X.509 cert serial numbers

Ben Perez duke at openjdk.org
Thu Dec 14 18:00:49 UTC 2023


On Mon, 27 Nov 2023 21:45:23 GMT, Ben Perez <duke at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: c328f958
Author:    Ben Perez <ben.perez at oracle.com>
Committer: Sean Mullan <mullan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c328f9589ddc3a981a2c63801bd991f8e593e69f
Stats:     65 lines in 18 files changed: 19 ins; 3 del; 43 mod

8296787: Unify debug printing format of X.509 cert serial numbers

Reviewed-by: mullan, coffeys

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

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



More information about the security-dev mailing list