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

Side by Side Diff: net/ssl/ssl_server_config.h

Issue 1474983003: Support for client certs in ssl_server_socket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SSL_SSL_SERVER_CONFIG_H_ 5 #ifndef NET_SSL_SSL_SERVER_CONFIG_H_
6 #define NET_SSL_SSL_SERVER_CONFIG_H_ 6 #define NET_SSL_SSL_SERVER_CONFIG_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify 0x0004, while to 49 // Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify 0x0004, while to
50 // disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. 50 // disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002.
51 std::vector<uint16_t> disabled_cipher_suites; 51 std::vector<uint16_t> disabled_cipher_suites;
52 52
53 // If true, causes only ECDHE cipher suites to be enabled. 53 // If true, causes only ECDHE cipher suites to be enabled.
54 bool require_ecdhe; 54 bool require_ecdhe;
55 55
56 // Requires a client certificate for client authentication from the client. 56 // Requires a client certificate for client authentication from the client.
57 // This doesn't currently enforce certificate validity. 57 // This doesn't currently enforce certificate validity.
58 bool require_client_cert; 58 bool require_client_cert;
59
60 // Provides the list of certificates whose names are to be included in the
61 // CertificateRequest handshake message. This member is only useful if
62 // certificates are allowed.
63 CertificateList client_cert_ca_list;
59 }; 64 };
60 65
61 } // namespace net 66 } // namespace net
62 67
63 #endif // NET_SSL_SSL_SERVER_CONFIG_H_ 68 #endif // NET_SSL_SSL_SERVER_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698