OLD | NEW |
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 |
11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
12 #include "net/cert/signed_certificate_timestamp.h" | 12 #include "net/cert/signed_certificate_timestamp.h" |
13 #include "net/log/net_log.h" | |
14 | 13 |
15 namespace net { | 14 namespace net { |
16 | 15 |
| 16 class NetLogWithSource; |
| 17 |
17 namespace ct { | 18 namespace ct { |
18 | 19 |
19 class EVCertsWhitelist; | 20 class EVCertsWhitelist; |
20 enum class CertPolicyCompliance; | 21 enum class CertPolicyCompliance; |
21 enum class EVPolicyCompliance; | 22 enum class EVPolicyCompliance; |
22 | 23 |
23 } // namespace ct | 24 } // namespace ct |
24 | 25 |
25 class X509Certificate; | 26 class X509Certificate; |
26 | 27 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 virtual ct::EVPolicyCompliance DoesConformToCTEVPolicy( | 99 virtual ct::EVPolicyCompliance DoesConformToCTEVPolicy( |
99 X509Certificate* cert, | 100 X509Certificate* cert, |
100 const ct::EVCertsWhitelist* ev_whitelist, | 101 const ct::EVCertsWhitelist* ev_whitelist, |
101 const SCTList& verified_scts, | 102 const SCTList& verified_scts, |
102 const NetLogWithSource& net_log); | 103 const NetLogWithSource& net_log); |
103 }; | 104 }; |
104 | 105 |
105 } // namespace net | 106 } // namespace net |
106 | 107 |
107 #endif // NET_CERT_CT_POLICY_ENFORCER_H | 108 #endif // NET_CERT_CT_POLICY_ENFORCER_H |
OLD | NEW |