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_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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 63 // Though cipher suites are sent in TLS as "uint8 CipherSuite[2]", in | 63 // Though cipher suites are sent in TLS as "uint8 CipherSuite[2]", in |
| 64 // big-endian form, they should be declared in host byte order, with the | 64 // big-endian form, they should be declared in host byte order, with the |
| 65 // first uint8 occupying the most significant byte. | 65 // first uint8 occupying the most significant byte. |
| 66 // Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify 0x0004, while to | 66 // Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify 0x0004, while to |
| 67 // disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. | 67 // disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. |
| 68 // | 68 // |
| 69 // Note: Not implemented when using Schannel/SSLClientSocketWin. | 69 // Note: Not implemented when using Schannel/SSLClientSocketWin. |
| 70 std::vector<uint16> disabled_cipher_suites; | 70 std::vector<uint16> disabled_cipher_suites; |
| 71 | 71 |
| 72 bool cached_info_enabled; // True if TLS cached info extension is enabled. | 72 bool cached_info_enabled; // True if TLS cached info extension is enabled. |
| 73 bool origin_bound_certs_enabled; // True if TLS origin bound cert extension | 73 bool server_bound_certs_enabled; // True if TLS origin bound cert extension |
|
wtc
2012/03/15 23:46:38
This probably should not be renamed, or should be
mattm
2012/03/16 22:22:00
done (renamed to domain_bound_certs_enabled)
| |
| 74 // is enabled. | 74 // is enabled. |
| 75 bool false_start_enabled; // True if we'll use TLS False Start. | 75 bool false_start_enabled; // True if we'll use TLS False Start. |
| 76 | 76 |
| 77 // TODO(wtc): move the following members to a new SSLParams structure. They | 77 // TODO(wtc): move the following members to a new SSLParams structure. They |
| 78 // are not SSL configuration settings. | 78 // are not SSL configuration settings. |
| 79 | 79 |
| 80 struct NET_EXPORT CertAndStatus { | 80 struct NET_EXPORT CertAndStatus { |
| 81 CertAndStatus(); | 81 CertAndStatus(); |
| 82 ~CertAndStatus(); | 82 ~CertAndStatus(); |
| 83 | 83 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 172 void ProcessConfigUpdate(const SSLConfig& orig_config, | 172 void ProcessConfigUpdate(const SSLConfig& orig_config, |
| 173 const SSLConfig& new_config); | 173 const SSLConfig& new_config); |
| 174 | 174 |
| 175 private: | 175 private: |
| 176 ObserverList<Observer> observer_list_; | 176 ObserverList<Observer> observer_list_; |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 } // namespace net | 179 } // namespace net |
| 180 | 180 |
| 181 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_ | 181 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_ |
| OLD | NEW |