Hi, On Oct 4, 2009, at 14:21, Peter Stuge wrote:
> João Poupino wrote: >>> i've got "OID.2.5.4.0" on the card and just "O" (for organisation) >>> when i load it in the webbrowser in format pkcs12, but the values >>> associated to this field organisation are the same and all the rest >>> is the same. >> >> I don't think I understood this cleary, could you please clarify? >> >> What certificate attributes and values to you see on the card? >> What certificate attributes and values do you see when you load it >> in firefox? > > As I understand it, the one certificate is shown completely correctly > when using a .p12 and it also functions correctly, but when the > certificate is on the card Firefox does not display the O part of the > DN, and instead the numeric OID 2.5.4.0 (with the correct organization > data). I don't know what that numeric OID actually means, if anything. > > My guess was an error in producing or parsing ASN.1. > Ok, got it. All else being equal, the O attribute is different. According to [1], 2.5.4.0 is just "objectClass". Organization should be 2.5.4.10. [1] - http://www.oid-info.com/ > It would be helpful to display the certificate attributes also using > something other than Firefox/NSS, e.g. the OpenSSL engine or via p11. > > > //Peter > _______________________________________________ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.opensc-project.org/mailman/listinfo/opensc-devel _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel