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

Unified Diff: net/cert/ev_root_ca_metadata.h

Issue 2772283004: De-prioritize 2.23.140.1.1 when searching for EV policy. (Closed)
Patch Set: fix win compile 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 c803bee03944848db34ff1a3881bfc8f8bccd887..4fb5fc2f1a6b0ec915cdefe891a1d3d1777cc120 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