RFR: 8296787: Unify debug printing format of X.509 cert serial numbers
Sean Mullan
mullan at openjdk.org
Tue Nov 28 13:53:49 UTC 2023
On Mon, 27 Nov 2023 21:45:23 GMT, Ben Perez <duke at openjdk.org> wrote:
> Updated `X509CertSelector.java` and `SerialNumber.java` to use same debug printing format for X.509 serial numbers. The format in `SSLLogger.java` is slightly different but now uses the `toString` method in `SerialNumber.java` for better readability.
I would like us to use a consistent hex format where each byte is separated by a ":", so for example:
08:3B:E0:56:90:42:46:B1:A1:75:6A:C9:59:91:C7:4A
This is easier to visually parse and is a common format used by other X.509 certificate display tools.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16834#issuecomment-1829887459
More information about the security-dev
mailing list