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

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

Issue 21071: Add X509Certificate::Verify stubs for Mac and Linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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/cert_verify_result.h ('k') | net/base/ssl_client_socket_win.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) 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
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
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
OLDNEW
« no previous file with comments | « net/base/cert_verify_result.h ('k') | net/base/ssl_client_socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698