| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_WIN_H_ | 5 #ifndef NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ |
| 6 #define NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ | 6 #define NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ |
| 7 | 7 |
| 8 #define SECURITY_WIN32 // Needs to be defined before including security.h | 8 #define SECURITY_WIN32 // Needs to be defined before including security.h |
| 9 | 9 |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 STATE_VERIFY_CERT_COMPLETE, | 92 STATE_VERIFY_CERT_COMPLETE, |
| 93 STATE_PAYLOAD_ENCRYPT, | 93 STATE_PAYLOAD_ENCRYPT, |
| 94 STATE_PAYLOAD_WRITE, | 94 STATE_PAYLOAD_WRITE, |
| 95 STATE_PAYLOAD_WRITE_COMPLETE, | 95 STATE_PAYLOAD_WRITE_COMPLETE, |
| 96 STATE_PAYLOAD_READ, | 96 STATE_PAYLOAD_READ, |
| 97 STATE_PAYLOAD_READ_COMPLETE, | 97 STATE_PAYLOAD_READ_COMPLETE, |
| 98 }; | 98 }; |
| 99 State next_state_; | 99 State next_state_; |
| 100 | 100 |
| 101 SecPkgContext_StreamSizes stream_sizes_; | 101 SecPkgContext_StreamSizes stream_sizes_; |
| 102 PCCERT_CONTEXT server_cert_; | 102 scoped_refptr<X509Certificate> server_cert_; |
| 103 CertVerifier verifier_; | 103 CertVerifier verifier_; |
| 104 CertVerifyResult server_cert_verify_result_; | 104 CertVerifyResult server_cert_verify_result_; |
| 105 | 105 |
| 106 CredHandle* creds_; | 106 CredHandle* creds_; |
| 107 CtxtHandle ctxt_; | 107 CtxtHandle ctxt_; |
| 108 SecBuffer send_buffer_; | 108 SecBuffer send_buffer_; |
| 109 scoped_array<char> payload_send_buffer_; | 109 scoped_array<char> payload_send_buffer_; |
| 110 int payload_send_buffer_len_; | 110 int payload_send_buffer_len_; |
| 111 int bytes_sent_; | 111 int bytes_sent_; |
| 112 | 112 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 138 bool ignore_ok_result_; | 138 bool ignore_ok_result_; |
| 139 | 139 |
| 140 // True if the user has no client certificate. | 140 // True if the user has no client certificate. |
| 141 bool no_client_cert_; | 141 bool no_client_cert_; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 } // namespace net | 144 } // namespace net |
| 145 | 145 |
| 146 #endif // NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ | 146 #endif // NET_BASE_SSL_CLIENT_SOCKET_WIN_H_ |
| 147 | 147 |
| OLD | NEW |