Unix AsnEncodedData.Format does not match Windows AsnEncodedData.Format #15445
Open
Description
opened on Oct 14, 2015
(Apparently I missed this when moving x-plat crypto bugs from TFS to github back in April. Ouch.)
The biggest example that people will notice would have to do with Subject Alternative Names. The examples below are sanExtension.Format(true)
Windows en-US:
DNS Name=dns1.subject.example.org
DNS Name=dns2.subject.example.org
RFC822 Name=sanemail1@example.org
RFC822 Name=sanemail2@example.org
Other Name:
Principal Name=subjectupn1@example.org
Other Name:
Principal Name=subjectupn2@example.org
URL=http://uri1.subject.example.org/
URL=http://uri2.subject.example.org/
Unix (non-localized):
DNS:dns1.subject.example.org, DNS:dns2.subject.example.org, email:sanemail1@example.org, email:sanemail2@example.org, othername:<unsupported>, othername:<unsupported>, URI:http://uri1.subject.example.org/, URI:http://uri2.subject.example.org/
And, for good measure, showing that Windows localizes this:
Windows es-ES
Nombre DNS=dns1.subject.example.org
Nombre DNS=dns2.subject.example.org
Nombre RFC822=sanemail1@example.org
Nombre RFC822=sanemail2@example.org
Otro nombre:
Nombre de entidad de seguridad=subjectupn1@example.org
Otro nombre:
Nombre de entidad de seguridad=subjectupn2@example.org
Dirección URL=http://uri1.subject.example.org/
Dirección URL=http://uri2.subject.example.org/
Windows ja-JP:
DNS Name=dns1.subject.example.org
DNS Name=dns2.subject.example.org
RFC822 Name=sanemail1@example.org
RFC822 Name=sanemail2@example.org
Other Name:
プリンシパル名=subjectupn1@example.org
Other Name:
プリンシパル名=subjectupn2@example.org
URL=http://uri1.subject.example.org/
URL=http://uri2.subject.example.org/
Activity