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

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

Issue 994743003: Support for client certs in ssl_server_socket. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Passing this CL to RyanChung for further work. Created 5 years, 1 month 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
« no previous file with comments | « net/socket/ssl_server_socket_unittest.cc ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CERT_REQUEST_INFO_H_ 5 #ifndef NET_SSL_SSL_CERT_REQUEST_INFO_H_
6 #define NET_SSL_SSL_CERT_REQUEST_INFO_H_ 6 #define NET_SSL_SSL_CERT_REQUEST_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 // enum { 25 // enum {
26 // rsa_sign(1), dss_sign(2), rsa_fixed_dh(3), dss_fixed_dh(4), 26 // rsa_sign(1), dss_sign(2), rsa_fixed_dh(3), dss_fixed_dh(4),
27 // rsa_ephemeral_dh_RESERVED(5), dss_ephemeral_dh_RESERVED(6), 27 // rsa_ephemeral_dh_RESERVED(5), dss_ephemeral_dh_RESERVED(6),
28 // fortezza_dms_RESERVED(20), (255) 28 // fortezza_dms_RESERVED(20), (255)
29 // } ClientCertificateType; 29 // } ClientCertificateType;
30 // 30 //
31 // opaque DistinguishedName<1..2^16-1>; 31 // opaque DistinguishedName<1..2^16-1>;
32 // 32 //
33 // struct { 33 // struct {
34 // ClientCertificateType certificate_types<1..2^8-1>; 34 // ClientCertificateType certificate_types<1..2^8-1>;
35 // DistinguishedName certificate_authorities<3..2^16-1>; 35 // DistinguishedName certificate_authorities<0..2^16-1>;
36 // } CertificateRequest; 36 // } CertificateRequest;
37 class NET_EXPORT SSLCertRequestInfo 37 class NET_EXPORT SSLCertRequestInfo
38 : public base::RefCountedThreadSafe<SSLCertRequestInfo> { 38 : public base::RefCountedThreadSafe<SSLCertRequestInfo> {
39 public: 39 public:
40 SSLCertRequestInfo(); 40 SSLCertRequestInfo();
41 41
42 void Reset(); 42 void Reset();
43 43
44 // The host and port of the SSL server that requested client authentication. 44 // The host and port of the SSL server that requested client authentication.
45 HostPortPair host_and_port; 45 HostPortPair host_and_port;
(...skipping 14 matching lines...) Expand all
60 60
61 private: 61 private:
62 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>; 62 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>;
63 63
64 ~SSLCertRequestInfo(); 64 ~SSLCertRequestInfo();
65 }; 65 };
66 66
67 } // namespace net 67 } // namespace net
68 68
69 #endif // NET_SSL_SSL_CERT_REQUEST_INFO_H_ 69 #endif // NET_SSL_SSL_CERT_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_server_socket_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698