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

Side by Side Diff: net/socket/ssl_client_socket_openssl.h

Issue 274783002: Implement SSL server socket over OpenSSL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for some comments. Created 6 years, 7 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
« no previous file with comments | « net/socket/openssl_ssl_util.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // SSLClientSocket implementation. 96 // SSLClientSocket implementation.
97 virtual scoped_refptr<X509Certificate> GetUnverifiedServerCertificateChain() 97 virtual scoped_refptr<X509Certificate> GetUnverifiedServerCertificateChain()
98 const OVERRIDE; 98 const OVERRIDE;
99 99
100 private: 100 private:
101 class PeerCertificateChain; 101 class PeerCertificateChain;
102 class SSLContext; 102 class SSLContext;
103 friend class SSLClientSocket; 103 friend class SSLClientSocket;
104 friend class SSLContext; 104 friend class SSLContext;
105 105
106 bool Init(); 106 int Init();
107 void DoReadCallback(int result); 107 void DoReadCallback(int result);
108 void DoWriteCallback(int result); 108 void DoWriteCallback(int result);
109 109
110 bool DoTransportIO(); 110 bool DoTransportIO();
111 int DoHandshake(); 111 int DoHandshake();
112 int DoVerifyCert(int result); 112 int DoVerifyCert(int result);
113 int DoVerifyCertComplete(int result); 113 int DoVerifyCertComplete(int result);
114 void DoConnectCallback(int result); 114 void DoConnectCallback(int result);
115 X509Certificate* UpdateServerCert(); 115 X509Certificate* UpdateServerCert();
116 116
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 // True if channel ID extension was negotiated. 237 // True if channel ID extension was negotiated.
238 bool channel_id_xtn_negotiated_; 238 bool channel_id_xtn_negotiated_;
239 // The request handle for |server_bound_cert_service_|. 239 // The request handle for |server_bound_cert_service_|.
240 ServerBoundCertService::RequestHandle channel_id_request_handle_; 240 ServerBoundCertService::RequestHandle channel_id_request_handle_;
241 BoundNetLog net_log_; 241 BoundNetLog net_log_;
242 }; 242 };
243 243
244 } // namespace net 244 } // namespace net
245 245
246 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 246 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
OLDNEW
« no previous file with comments | « net/socket/openssl_ssl_util.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698