Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: net/cert/ev_root_ca_metadata.h

Issue 2781093003: De-prioritize 2.23.140.1.1 when searching for EV policy. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cert/cert_verify_proc_win.cc ('k') | net/cert/ev_root_ca_metadata.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/ev_root_ca_metadata.h
diff --git a/net/cert/ev_root_ca_metadata.h b/net/cert/ev_root_ca_metadata.h
index e99cdd1f19ea8ed6692567388bdd147a0ecef00d..413f85dd92f6cffd3e749e0d0ececa71921972ec 100644
--- a/net/cert/ev_root_ca_metadata.h
+++ b/net/cert/ev_root_ca_metadata.h
@@ -54,6 +54,11 @@ class NET_EXPORT_PRIVATE EVRootCAMetadata {
// the EV policy OID policy_oid.
bool HasEVPolicyOID(const SHA1HashValue& fingerprint,
PolicyOID policy_oid) const;
+
+ // Returns true if |policy_oid| is for 2.23.140.1.1 (CA/Browser Forum's
+ // Extended Validation Policy).
+ // TODO(eroman): Remove this and instead test each candidate OID.
+ static bool IsCaBrowserForumEvOid(PolicyOID policy_oid);
#endif
// AddEVCA adds an EV CA to the list of known EV CAs with the given policy.
« no previous file with comments | « net/cert/cert_verify_proc_win.cc ('k') | net/cert/ev_root_ca_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698