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

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

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove "httpsv" scheme, minor NSS/OpenSSL changes Created 9 years, 8 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/net_error_list.h ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 std::vector<CertAndStatus> allowed_bad_certs; 84 std::vector<CertAndStatus> allowed_bad_certs;
85 85
86 // True if we should send client_cert to the server. 86 // True if we should send client_cert to the server.
87 bool send_client_cert; 87 bool send_client_cert;
88 88
89 bool verify_ev_cert; // True if we should verify the certificate for EV. 89 bool verify_ev_cert; // True if we should verify the certificate for EV.
90 90
91 bool ssl3_fallback; // True if we are falling back to SSL 3.0 (one still 91 bool ssl3_fallback; // True if we are falling back to SSL 3.0 (one still
92 // needs to clear tls1_enabled). 92 // needs to clear tls1_enabled).
93 93
94 bool use_tls_auth; // True if we should allow the use of SRP cipher suites.
95 bool require_tls_auth; // True if we should only use SRP cipher suites.
96 std::string tls_username;
97 std::string tls_password;
98
94 // The list of application level protocols supported. If set, this will 99 // The list of application level protocols supported. If set, this will
95 // enable Next Protocol Negotiation (if supported). This is a list of 8-bit 100 // enable Next Protocol Negotiation (if supported). This is a list of 8-bit
96 // length prefixed strings. The order of the protocols doesn't matter expect 101 // length prefixed strings. The order of the protocols doesn't matter expect
97 // for one case: if the server supports Next Protocol Negotiation, but there 102 // for one case: if the server supports Next Protocol Negotiation, but there
98 // is no overlap between the server's and client's protocol sets, then the 103 // is no overlap between the server's and client's protocol sets, then the
99 // first protocol in this list will be requested by the client. 104 // first protocol in this list will be requested by the client.
100 std::string next_protos; 105 std::string next_protos;
101 106
102 scoped_refptr<X509Certificate> client_cert; 107 scoped_refptr<X509Certificate> client_cert;
103 }; 108 };
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 void ProcessConfigUpdate(const SSLConfig& orig_config, 194 void ProcessConfigUpdate(const SSLConfig& orig_config,
190 const SSLConfig& new_config); 195 const SSLConfig& new_config);
191 196
192 private: 197 private:
193 ObserverList<Observer> observer_list_; 198 ObserverList<Observer> observer_list_;
194 }; 199 };
195 200
196 } // namespace net 201 } // namespace net
197 202
198 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_ 203 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_
OLDNEW
« no previous file with comments | « net/base/net_error_list.h ('k') | net/base/ssl_config_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698