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

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

Issue 11458012: SSLCertRequestInfo: Add |valid_cas| and |valid_key_types| (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: trivial fix for Linux build Created 8 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
OLDNEW
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 // Used by Write function. 139 // Used by Write function.
140 scoped_refptr<IOBuffer> user_write_buf_; 140 scoped_refptr<IOBuffer> user_write_buf_;
141 int user_write_buf_len_; 141 int user_write_buf_len_;
142 142
143 // Set when handshake finishes. 143 // Set when handshake finishes.
144 scoped_refptr<X509Certificate> server_cert_; 144 scoped_refptr<X509Certificate> server_cert_;
145 CertVerifyResult server_cert_verify_result_; 145 CertVerifyResult server_cert_verify_result_;
146 bool completed_handshake_; 146 bool completed_handshake_;
147 147
148 // Stores client authentication information between ClientAuthHandler and
149 // GetSSLCertRequestInfo calls.
150 std::vector<scoped_refptr<X509Certificate> > client_certs_;
151 bool client_auth_cert_needed_; 148 bool client_auth_cert_needed_;
152 149
153 CertVerifier* const cert_verifier_; 150 CertVerifier* const cert_verifier_;
154 scoped_ptr<SingleRequestCertVerifier> verifier_; 151 scoped_ptr<SingleRequestCertVerifier> verifier_;
155 152
156 // OpenSSL stuff 153 // OpenSSL stuff
157 SSL* ssl_; 154 SSL* ssl_;
158 BIO* transport_bio_; 155 BIO* transport_bio_;
159 156
160 scoped_ptr<ClientSocketHandle> transport_; 157 scoped_ptr<ClientSocketHandle> transport_;
(...skipping 16 matching lines...) Expand all
177 State next_handshake_state_; 174 State next_handshake_state_;
178 NextProtoStatus npn_status_; 175 NextProtoStatus npn_status_;
179 std::string npn_proto_; 176 std::string npn_proto_;
180 std::string server_protos_; 177 std::string server_protos_;
181 BoundNetLog net_log_; 178 BoundNetLog net_log_;
182 }; 179 };
183 180
184 } // namespace net 181 } // namespace net
185 182
186 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 183 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698