Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SSL_SSL_CONFIG_SERVICE_H_ | 5 #ifndef NET_SSL_SSL_CONFIG_SERVICE_H_ |
| 6 #define NET_SSL_SSL_CONFIG_SERVICE_H_ | 6 #define NET_SSL_SSL_CONFIG_SERVICE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 // big-endian form, they should be declared in host byte order, with the | 84 // big-endian form, they should be declared in host byte order, with the |
| 85 // first uint8 occupying the most significant byte. | 85 // first uint8 occupying the most significant byte. |
| 86 // Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify 0x0004, while to | 86 // Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify 0x0004, while to |
| 87 // disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. | 87 // disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. |
| 88 std::vector<uint16> disabled_cipher_suites; | 88 std::vector<uint16> disabled_cipher_suites; |
| 89 | 89 |
| 90 bool cached_info_enabled; // True if TLS cached info extension is enabled. | 90 bool cached_info_enabled; // True if TLS cached info extension is enabled. |
| 91 bool channel_id_enabled; // True if TLS channel ID extension is enabled. | 91 bool channel_id_enabled; // True if TLS channel ID extension is enabled. |
| 92 bool false_start_enabled; // True if we'll use TLS False Start. | 92 bool false_start_enabled; // True if we'll use TLS False Start. |
| 93 | 93 |
| 94 // True if SSL3 version fallback is applied when an initial TLS 1.0 handshake | |
| 95 // fails. | |
|
wtc
2013/04/17 23:22:05
This description does not reflect the actual meani
thaidn_google
2013/04/18 00:05:50
Done.
| |
| 96 bool ssl3_version_fallback_enabled; | |
|
wtc
2013/04/17 23:22:05
Remove "version". "ssl3_fallback_enabled" is suffi
thaidn_google
2013/04/18 00:05:50
Done.
| |
| 97 | |
| 94 // TODO(wtc): move the following members to a new SSLParams structure. They | 98 // TODO(wtc): move the following members to a new SSLParams structure. They |
| 95 // are not SSL configuration settings. | 99 // are not SSL configuration settings. |
| 96 | 100 |
| 97 struct NET_EXPORT CertAndStatus { | 101 struct NET_EXPORT CertAndStatus { |
| 98 CertAndStatus(); | 102 CertAndStatus(); |
| 99 ~CertAndStatus(); | 103 ~CertAndStatus(); |
| 100 | 104 |
| 101 std::string der_cert; | 105 std::string der_cert; |
| 102 CertStatus cert_status; | 106 CertStatus cert_status; |
| 103 }; | 107 }; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 205 void ProcessConfigUpdate(const SSLConfig& orig_config, | 209 void ProcessConfigUpdate(const SSLConfig& orig_config, |
| 206 const SSLConfig& new_config); | 210 const SSLConfig& new_config); |
| 207 | 211 |
| 208 private: | 212 private: |
| 209 ObserverList<Observer> observer_list_; | 213 ObserverList<Observer> observer_list_; |
| 210 }; | 214 }; |
| 211 | 215 |
| 212 } // namespace net | 216 } // namespace net |
| 213 | 217 |
| 214 #endif // NET_SSL_SSL_CONFIG_SERVICE_H_ | 218 #endif // NET_SSL_SSL_CONFIG_SERVICE_H_ |
| OLD | NEW |