Eddy Nigg (StartCom Ltd.) wrote:
> For the sport I'm following http://wiki.mozilla.org/PSM:EV_Testing and 
> I'm not sure about the fourth paramenter of the test_ev_roots.txt 
> file: 4_serial ....
>
> The page says: "One noteworthy detail are the issuer and serial number 
> fields, those most be provided in their encoded form (*as stored in 
> the certificate*) and transformed to base64."
>
> What does that mean? Is it HEX like 0x0 or 0 or the binary value of 
> the serial or something else? As reference I tried to decode N0rSQw== 
> which gave me 7JÒC (garbage?) What would the serial 0x1 be for a 
> practical example?
>

Binary value of the serial/issuer encoded as base 64.

You can look at source file nsIdentityChecking (I think I reference it 
on the wiki page) and look at examples.

I have updated the page in the hope to clarify things.

Bug https://bugzilla.mozilla.org/show_bug.cgi?id=421989 has a patch to 
the pp tool that helps to dump those fields in the expected format.

Kai

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to