DescriptionParse individual X.509 name components on Windows, rather than parsing the stringified form
On Windows, rather than converting the entire certificate
name to a string and attempting to parse out the components
and values, iterate through the relativeDistinguishedName
and AttributeTypeAndValue pairs to extract each name
component.
This is to ensure that:
1) When multiple AVAs are present in an RDN, ALL AVAs are
parsed.
2) When converting an AVA to a string, no extra escaping is
applied.
This also fixes domainComponent parsing on OS X, so that
unittests with a domainComponent can pass.
BUG=101009, 102839
TEST=net_unittests:X509CertificateTest has two new regression
tests. Additionally, sample a variety of SSL sites and ensure no
regressions, paying attention to internationalized domains.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112650
Patch Set 1 #Patch Set 2 : Move back into x509_certificate_win #Patch Set 3 : Fix tests for Mac by fixing the domainComponent OID #
Total comments: 4
Patch Set 4 : Rebased #Patch Set 5 : Review feedback #Patch Set 6 : Anonymized certs #
Messages
Total messages: 4 (0 generated)
|