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

Side by Side Diff: net/base/ssl_config_service.h

Issue 9617039: Change Origin bound certs -> Domain bound certs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename all the things Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698