Hello
I checked only one but I think they are all the same.
The integer value of the serial number is 20 octets, but when encoded into DER
a starting 00 may be necessary to mark the integer as a positive value :
0 1606: SEQUENCE {
4 1070: SEQUENCE {
8 3: [0] {
10 1: INTEGER 2
: }
13 21: INTEGER
: 00 A5 45 35 99 1C E2 8B 6D D9 BC 1E 94 48 CC 86
: 7C 6B 59 9E B3
So the serialNumber (integer) value is 20 octets long but lenght can be more
depending on the encoding representation.
Here is ASCII (common representation when stored into a database:
"A54535991CE28B6DD9BC1E9448CC867C6B599EB3" it is 40 octets long, VARCHAR(40) is
needed.
regards
Franck
_______________________________________________
dev-security-policy mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-security-policy