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

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: rebase 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
« no previous file with comments | « net/base/origin_bound_cert_store.cc ('k') | net/base/ssl_config_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 domain_bound_certs_enabled; // True if TLS origin bound cert extension
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 void ProcessConfigUpdate(const SSLConfig& orig_config, 179 void ProcessConfigUpdate(const SSLConfig& orig_config,
180 const SSLConfig& new_config); 180 const SSLConfig& new_config);
181 181
182 private: 182 private:
183 ObserverList<Observer> observer_list_; 183 ObserverList<Observer> observer_list_;
184 }; 184 };
185 185
186 } // namespace net 186 } // namespace net
187 187
188 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_ 188 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_
OLDNEW
« no previous file with comments | « net/base/origin_bound_cert_store.cc ('k') | net/base/ssl_config_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698