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

Reviewed-by: mullan, coffeys
This commit is contained in:
Ben Perez 2023-12-14 17:57:36 +00:00 committed by Sean Mullan
parent fde5b16817
commit c328f9589d
18 changed files with 62 additions and 46 deletions

View file

@ -333,4 +333,8 @@ public class Debug {
return HexFormat.ofDelimiter(":").formatHex(b);
}
public static String toString(BigInteger b) {
return toString(b.toByteArray());
}
}