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