OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BASE_SSL_CONFIG_SERVICE_H_ | 5 #ifndef NET_BASE_SSL_CONFIG_SERVICE_H_ |
6 #define NET_BASE_SSL_CONFIG_SERVICE_H_ | 6 #define NET_BASE_SSL_CONFIG_SERVICE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 // Disables False Start in SSL connections. | 144 // Disables False Start in SSL connections. |
145 static void DisableFalseStart(); | 145 static void DisableFalseStart(); |
146 // True if we use False Start for SSL and TLS. | 146 // True if we use False Start for SSL and TLS. |
147 static bool false_start_enabled(); | 147 static bool false_start_enabled(); |
148 | 148 |
149 // Enables DNS side checks for certificates. | 149 // Enables DNS side checks for certificates. |
150 static void EnableDNSCertProvenanceChecking(); | 150 static void EnableDNSCertProvenanceChecking(); |
151 static bool dns_cert_provenance_checking_enabled(); | 151 static bool dns_cert_provenance_checking_enabled(); |
152 | 152 |
153 // Sets and gets the current, global CRL set. | 153 // Sets and gets the current, global CRL set. |
154 // TODO(agl): currently unused. | |
155 static void SetCRLSet(scoped_refptr<CRLSet> crl_set); | 154 static void SetCRLSet(scoped_refptr<CRLSet> crl_set); |
156 static scoped_refptr<CRLSet> GetCRLSet(); | 155 static scoped_refptr<CRLSet> GetCRLSet(); |
157 | 156 |
158 // Enables the TLS cached info extension, which allows the server to send | 157 // Enables the TLS cached info extension, which allows the server to send |
159 // just a digest of its certificate chain. | 158 // just a digest of its certificate chain. |
160 static void EnableCachedInfo(); | 159 static void EnableCachedInfo(); |
161 static bool cached_info_enabled(); | 160 static bool cached_info_enabled(); |
162 | 161 |
163 // Enables the TLS origin bound cert extension. | 162 // Enables the TLS origin bound cert extension. |
164 static void EnableOriginBoundCerts(); | 163 static void EnableOriginBoundCerts(); |
(...skipping 20 matching lines...) Expand all Loading... |
185 void ProcessConfigUpdate(const SSLConfig& orig_config, | 184 void ProcessConfigUpdate(const SSLConfig& orig_config, |
186 const SSLConfig& new_config); | 185 const SSLConfig& new_config); |
187 | 186 |
188 private: | 187 private: |
189 ObserverList<Observer> observer_list_; | 188 ObserverList<Observer> observer_list_; |
190 }; | 189 }; |
191 | 190 |
192 } // namespace net | 191 } // namespace net |
193 | 192 |
194 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_ | 193 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_ |
OLD | NEW |