[Mono-list] Danish chars in certificate SubjectName missing
Sebastien Pouliot
sebastien at ximian.com
Mon Jan 16 21:43:57 EST 2006
Hello Kim,
On Mon, 2006-01-16 at 14:57 +0100, Hellan.Kim KHE wrote:
> I have a certificate where the common name contains the following
> danish word "Møbelhandel".
> OpenSSL and Windows certificate browser are both able to show this
> word correctly, but when I call the X509Certificate.SubjectName
> property, I just get "Mbelhandel". The danish 'ø' character is
> missing.
>
> Is there an error in the X509Certificate class or am I doing something
> wrong?
It's probably an encoding issue. However I can't tell if it's:
* a Mono (.NET classes) encoding issue; or
* a Mono (ASN.1) decoding; or
* both Mono issue(s); or (finally ;-)
* a Windows/OpenSSL encoding issue (e.g. invalid ASN.1/X.509 encoding
but accepted by "lax" parsers);
without the certificate.
Please fill a bug report and attach the certificate.
Thanks
--
Sebastien Pouliot <sebastien at ximian.com>
Blog: http://pages.infinit.net/ctech/
More information about the Mono-list
mailing list