| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 166 | 166 | 
| 167   // Used by TransportWriteComplete() and TransportReadComplete() to signify an | 167   // Used by TransportWriteComplete() and TransportReadComplete() to signify an | 
| 168   // error writing to the transport socket. A value of OK indicates no error. | 168   // error writing to the transport socket. A value of OK indicates no error. | 
| 169   int transport_write_error_; | 169   int transport_write_error_; | 
| 170 | 170 | 
| 171   // Set when handshake finishes. | 171   // Set when handshake finishes. | 
| 172   scoped_refptr<X509Certificate> server_cert_; | 172   scoped_refptr<X509Certificate> server_cert_; | 
| 173   CertVerifyResult server_cert_verify_result_; | 173   CertVerifyResult server_cert_verify_result_; | 
| 174   bool completed_handshake_; | 174   bool completed_handshake_; | 
| 175 | 175 | 
|  | 176   // Set when Read() or Write() successfully reads or writes data to or from the | 
|  | 177   // network. | 
|  | 178   bool was_used_to_convey_data_; | 
|  | 179 | 
| 176   // Stores client authentication information between ClientAuthHandler and | 180   // Stores client authentication information between ClientAuthHandler and | 
| 177   // GetSSLCertRequestInfo calls. | 181   // GetSSLCertRequestInfo calls. | 
| 178   bool client_auth_cert_needed_; | 182   bool client_auth_cert_needed_; | 
| 179   // List of DER-encoded X.509 DistinguishedName of certificate authorities | 183   // List of DER-encoded X.509 DistinguishedName of certificate authorities | 
| 180   // allowed by the server. | 184   // allowed by the server. | 
| 181   std::vector<std::string> cert_authorities_; | 185   std::vector<std::string> cert_authorities_; | 
| 182 | 186 | 
| 183   CertVerifier* const cert_verifier_; | 187   CertVerifier* const cert_verifier_; | 
| 184   scoped_ptr<SingleRequestCertVerifier> verifier_; | 188   scoped_ptr<SingleRequestCertVerifier> verifier_; | 
| 185 | 189 | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 219   // True if channel ID extension was negotiated. | 223   // True if channel ID extension was negotiated. | 
| 220   bool channel_id_xtn_negotiated_; | 224   bool channel_id_xtn_negotiated_; | 
| 221   // The request handle for |server_bound_cert_service_|. | 225   // The request handle for |server_bound_cert_service_|. | 
| 222   ServerBoundCertService::RequestHandle channel_id_request_handle_; | 226   ServerBoundCertService::RequestHandle channel_id_request_handle_; | 
| 223   BoundNetLog net_log_; | 227   BoundNetLog net_log_; | 
| 224 }; | 228 }; | 
| 225 | 229 | 
| 226 }  // namespace net | 230 }  // namespace net | 
| 227 | 231 | 
| 228 #endif  // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 232 #endif  // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 
| OLD | NEW | 
|---|