OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |