Skip to content

searchCertificates REST endpoint returns a trimmed serial number #673

Answered by primetomas
AbdouMechraoui asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, there you see. THis is just a formatting thing. Some output, say by default Java BigInteger.toString(16) does not include leading zeroes.
The leading zero does not contribute anything to the value. Hex converting it to decimal gives the same value regardless of the leading zero or not.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AbdouMechraoui
Comment options

Answer selected by AbdouMechraoui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants