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

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

Issue 452042: Define X509Certificate::intermediate_ca_certs_ as a std::vector of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Update retain the result comment. Sync to ToT. Created 11 years 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/x509_certificate_mac.cc ('k') | net/socket/ssl_client_socket_mac.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-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_MAC_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_
7 7
8 #include <Security/Security.h> 8 #include <Security/Security.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 enum State { 99 enum State {
100 STATE_NONE, 100 STATE_NONE,
101 STATE_HANDSHAKE_START, 101 STATE_HANDSHAKE_START,
102 STATE_VERIFY_CERT, 102 STATE_VERIFY_CERT,
103 STATE_VERIFY_CERT_COMPLETE, 103 STATE_VERIFY_CERT_COMPLETE,
104 STATE_HANDSHAKE_FINISH, 104 STATE_HANDSHAKE_FINISH,
105 }; 105 };
106 State next_handshake_state_; 106 State next_handshake_state_;
107 107
108 scoped_refptr<X509Certificate> server_cert_; 108 scoped_refptr<X509Certificate> server_cert_;
109 std::vector<scoped_refptr<X509Certificate> > intermediate_certs_;
110 scoped_ptr<CertVerifier> verifier_; 109 scoped_ptr<CertVerifier> verifier_;
111 CertVerifyResult server_cert_verify_result_; 110 CertVerifyResult server_cert_verify_result_;
112 111
113 bool completed_handshake_; 112 bool completed_handshake_;
114 bool handshake_interrupted_; 113 bool handshake_interrupted_;
115 SSLContextRef ssl_context_; 114 SSLContextRef ssl_context_;
116 115
117 // These buffers hold data retrieved from/sent to the underlying transport 116 // These buffers hold data retrieved from/sent to the underlying transport
118 // before it's fed to the SSL engine. 117 // before it's fed to the SSL engine.
119 std::vector<char> send_buffer_; 118 std::vector<char> send_buffer_;
120 int pending_send_error_; 119 int pending_send_error_;
121 std::vector<char> recv_buffer_; 120 std::vector<char> recv_buffer_;
122 121
123 // These are the IOBuffers used for operations on the underlying transport. 122 // These are the IOBuffers used for operations on the underlying transport.
124 scoped_refptr<IOBuffer> read_io_buf_; 123 scoped_refptr<IOBuffer> read_io_buf_;
125 scoped_refptr<IOBuffer> write_io_buf_; 124 scoped_refptr<IOBuffer> write_io_buf_;
126 125
127 scoped_refptr<LoadLog> load_log_; 126 scoped_refptr<LoadLog> load_log_;
128 }; 127 };
129 128
130 } // namespace net 129 } // namespace net
131 130
132 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ 131 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_
OLDNEW
« no previous file with comments | « net/base/x509_certificate_mac.cc ('k') | net/socket/ssl_client_socket_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698