[EXTERNAL] Re: rfc5280 serialNumber question.

Viktor Dukhovni openssl-users at dukhovni.org
Fri Jul 21 21:12:29 UTC 2023


On Fri, Jul 21, 2023 at 02:45:00PM -0400, Robert Moskowitz wrote:

> Ah, as Viktor pointed out asn1parse is not quite lying, but hiding the 
> truth.

It isn't even hiding the truth, since it is showing you the "decoded"
integer value, not its encoding bits.  Just as it does for most other
fields.  It is just that if you're expecting to to see the encoding,
then because the integer is shown in hex, you might be misled that
it is the encoding you're seeing.

-- 
    Viktor.


More information about the openssl-users mailing list