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

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

Issue 118039: Implement SSL client authentication for Windows.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 years, 6 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/ssl_cert_request_info.h ('k') | net/base/ssl_client_socket_mac.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_CLIENT_SOCKET_H_ 5 #ifndef NET_BASE_SSL_CLIENT_SOCKET_H_
6 #define NET_BASE_SSL_CLIENT_SOCKET_H_ 6 #define NET_BASE_SSL_CLIENT_SOCKET_H_
7 7
8 #include "net/base/client_socket.h" 8 #include "net/base/client_socket.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 class SSLCertRequestInfo;
12 class SSLInfo; 13 class SSLInfo;
13 14
14 // A client socket that uses SSL as the transport layer. 15 // A client socket that uses SSL as the transport layer.
15 // 16 //
16 // NOTE: The SSL handshake occurs within the Connect method after a TCP 17 // NOTE: The SSL handshake occurs within the Connect method after a TCP
17 // connection is established. If a SSL error occurs during the handshake, 18 // connection is established. If a SSL error occurs during the handshake,
18 // Connect will fail. 19 // Connect will fail.
19 // 20 //
20 class SSLClientSocket : public ClientSocket { 21 class SSLClientSocket : public ClientSocket {
21 public: 22 public:
22 // Gets the SSL connection information of the socket. 23 // Gets the SSL connection information of the socket.
23 virtual void GetSSLInfo(SSLInfo* ssl_info) = 0; 24 virtual void GetSSLInfo(SSLInfo* ssl_info) = 0;
25
26 // Gets the SSL CertificateRequest info of the socket after Connect failed
27 // with ERR_SSL_CLIENT_AUTH_CERT_NEEDED.
28 virtual void GetSSLCertRequestInfo(
29 SSLCertRequestInfo* cert_request_info) = 0;
24 }; 30 };
25 31
26 } // namespace net 32 } // namespace net
27 33
28 #endif // NET_BASE_SSL_CLIENT_SOCKET_H_ 34 #endif // NET_BASE_SSL_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/base/ssl_cert_request_info.h ('k') | net/base/ssl_client_socket_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698