Mac EV verification using Chrome methods rather than OS methods.
Previously we were using some internal/private Mac OS APIs to get the results of OS EV checking, and those APIs stopped providing results on Sierra when we stopped passing the hostname to the OS verification (see crbug/621684). Additionally, it was impossible to unittest the old implementation. The new method is similar to what we do on other platforms, does not depend on OS handling, and can be unittested. Due to OS API limitations, the new method will be less efficient, but that additional inefficiency is limited to sites with EV certs.
BUG=655612
Review-Url: https://codereview.chromium.org/2456523003
Cr-Commit-Position: refs/heads/master@{#431367}
9 files changed