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

Side by Side Diff: net/cert/ct_policy_enforcer.h

Issue 1941973002: Align the CT Implementation with Policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | net/cert/ct_policy_enforcer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_CERT_CT_POLICY_ENFORCER_H 5 #ifndef NET_CERT_CT_POLICY_ENFORCER_H
6 #define NET_CERT_CT_POLICY_ENFORCER_H 6 #define NET_CERT_CT_POLICY_ENFORCER_H
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 X509Certificate* cert, 86 X509Certificate* cert,
87 const SCTList& verified_scts, 87 const SCTList& verified_scts,
88 const BoundNetLog& net_log); 88 const BoundNetLog& net_log);
89 89
90 // Returns the CT/EV policy compliance status for a given certificate 90 // Returns the CT/EV policy compliance status for a given certificate
91 // and collection of SCTs. 91 // and collection of SCTs.
92 // |cert| is the certificate for which to check compliance, and 92 // |cert| is the certificate for which to check compliance, and
93 // ||verified_scts| contains any/all SCTs associated with |cert| that 93 // ||verified_scts| contains any/all SCTs associated with |cert| that
94 // |have been verified (well-formed, issued by known logs, and 94 // |have been verified (well-formed, issued by known logs, and
95 // |applying to |cert|). 95 // |applying to |cert|).
96 // Note: |ev_whitelist| is an optional whitelist of certificates considered
97 // to be conforming.
96 virtual ct::EVPolicyCompliance DoesConformToCTEVPolicy( 98 virtual ct::EVPolicyCompliance DoesConformToCTEVPolicy(
97 X509Certificate* cert, 99 X509Certificate* cert,
98 const ct::EVCertsWhitelist* ev_whitelist, 100 const ct::EVCertsWhitelist* ev_whitelist,
99 const SCTList& verified_scts, 101 const SCTList& verified_scts,
100 const BoundNetLog& net_log); 102 const BoundNetLog& net_log);
101 }; 103 };
102 104
103 } // namespace net 105 } // namespace net
104 106
105 #endif // NET_CERT_CT_POLICY_ENFORCER_H 107 #endif // NET_CERT_CT_POLICY_ENFORCER_H
OLDNEW
« no previous file with comments | « no previous file | net/cert/ct_policy_enforcer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698