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

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

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 2 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
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // Returns the CT certificate policy compliance status for a given 79 // Returns the CT certificate policy compliance status for a given
80 // certificate and collection of SCTs. 80 // certificate and collection of SCTs.
81 // |cert| is the certificate for which to check compliance, and 81 // |cert| is the certificate for which to check compliance, and
82 // ||verified_scts| contains any/all SCTs associated with |cert| that 82 // ||verified_scts| contains any/all SCTs associated with |cert| that
83 // |have been verified (well-formed, issued by known logs, and 83 // |have been verified (well-formed, issued by known logs, and
84 // |applying to |cert|). 84 // |applying to |cert|).
85 virtual ct::CertPolicyCompliance DoesConformToCertPolicy( 85 virtual ct::CertPolicyCompliance DoesConformToCertPolicy(
86 X509Certificate* cert, 86 X509Certificate* cert,
87 const SCTList& verified_scts, 87 const SCTList& verified_scts,
88 const BoundNetLog& net_log); 88 const NetLogWithSource& 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 96 // Note: |ev_whitelist| is an optional whitelist of certificates considered
97 // to be conforming. 97 // to be conforming.
98 virtual ct::EVPolicyCompliance DoesConformToCTEVPolicy( 98 virtual ct::EVPolicyCompliance DoesConformToCTEVPolicy(
99 X509Certificate* cert, 99 X509Certificate* cert,
100 const ct::EVCertsWhitelist* ev_whitelist, 100 const ct::EVCertsWhitelist* ev_whitelist,
101 const SCTList& verified_scts, 101 const SCTList& verified_scts,
102 const BoundNetLog& net_log); 102 const NetLogWithSource& net_log);
103 }; 103 };
104 104
105 } // namespace net 105 } // namespace net
106 106
107 #endif // NET_CERT_CT_POLICY_ENFORCER_H 107 #endif // NET_CERT_CT_POLICY_ENFORCER_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698