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

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

Issue 1518613002: Support for server session cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client_certs
Patch Set: Rebased to head Created 4 years, 10 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
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 9
10 #include <vector> 10 #include <vector>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 ClientCertType client_cert_type; 65 ClientCertType client_cert_type;
66 66
67 // List of DER-encoded X.509 DistinguishedName of certificate authorities 67 // List of DER-encoded X.509 DistinguishedName of certificate authorities
68 // to be included in the CertificateRequest handshake message, 68 // to be included in the CertificateRequest handshake message,
69 // if client certificates are required. 69 // if client certificates are required.
70 std::vector<std::string> cert_authorities_; 70 std::vector<std::string> cert_authorities_;
71 71
72 // Provides the ClientCertVerifier that is to be used to verify 72 // Provides the ClientCertVerifier that is to be used to verify
73 // client certificates during the handshake. 73 // client certificates during the handshake.
74 // The |client_cert_verifier| continues to be owned by the caller, 74 // The |client_cert_verifier| continues to be owned by the caller,
75 // and must outlive any sockets using this SSLServerConfig. 75 // and must outlive any sockets spawned from this SSLServerContext.
76 // This field is meaningful only if client certificates are requested. 76 // This field is meaningful only if client certificates are requested.
77 // If a verifier is not provided then all certificates are accepted. 77 // If a verifier is not provided then all certificates are accepted.
78 ClientCertVerifier* client_cert_verifier; 78 ClientCertVerifier* client_cert_verifier;
79 }; 79 };
80 80
81 } // namespace net 81 } // namespace net
82 82
83 #endif // NET_SSL_SSL_SERVER_CONFIG_H_ 83 #endif // NET_SSL_SSL_SERVER_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698