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

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

Issue 10830326: net: disable ECDSA ciphersuites on platforms where we can't support it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 4 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 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // Presorted list of cipher suites which should be explicitly prevented from 67 // Presorted list of cipher suites which should be explicitly prevented from
68 // being used in addition to those disabled by the net built-in policy. 68 // being used in addition to those disabled by the net built-in policy.
69 // 69 //
70 // By default, all cipher suites supported by the underlying SSL 70 // By default, all cipher suites supported by the underlying SSL
71 // implementation will be enabled except for: 71 // implementation will be enabled except for:
72 // - Null encryption cipher suites. 72 // - Null encryption cipher suites.
73 // - Weak cipher suites: < 80 bits of security strength. 73 // - Weak cipher suites: < 80 bits of security strength.
74 // - FORTEZZA cipher suites (obsolete). 74 // - FORTEZZA cipher suites (obsolete).
75 // - IDEA cipher suites (RFC 5469 explains why). 75 // - IDEA cipher suites (RFC 5469 explains why).
76 // - Anonymous cipher suites. 76 // - Anonymous cipher suites.
77 // - ECDSA cipher suites on platforms that do not support ECDSA signed
78 // certificates, as servers may use the presence of such ciphersuites as a
79 // hint to send an ECDSA certificate.
77 // The ciphers listed in |disabled_cipher_suites| will be removed in addition 80 // The ciphers listed in |disabled_cipher_suites| will be removed in addition
78 // to the above list. 81 // to the above list.
79 // 82 //
80 // Though cipher suites are sent in TLS as "uint8 CipherSuite[2]", in 83 // Though cipher suites are sent in TLS as "uint8 CipherSuite[2]", in
81 // 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
82 // first uint8 occupying the most significant byte. 85 // first uint8 occupying the most significant byte.
83 // 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
84 // disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. 87 // disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002.
85 // 88 //
86 // Note: Not implemented when using Schannel/SSLClientSocketWin. 89 // Note: Not implemented when using Schannel/SSLClientSocketWin.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void ProcessConfigUpdate(const SSLConfig& orig_config, 204 void ProcessConfigUpdate(const SSLConfig& orig_config,
202 const SSLConfig& new_config); 205 const SSLConfig& new_config);
203 206
204 private: 207 private:
205 ObserverList<Observer> observer_list_; 208 ObserverList<Observer> observer_list_;
206 }; 209 };
207 210
208 } // namespace net 211 } // namespace net
209 212
210 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_ 213 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698