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

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

Issue 10825211: Implement SHA-256 fingerprint support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
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_NSS_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
7 7
8 #include <certt.h> 8 #include <certt.h>
9 #include <keyt.h> 9 #include <keyt.h>
10 #include <nspr.h> 10 #include <nspr.h>
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 scoped_refptr<base::SequencedTaskRunner> nss_task_runner_; 150 scoped_refptr<base::SequencedTaskRunner> nss_task_runner_;
151 scoped_ptr<ClientSocketHandle> transport_; 151 scoped_ptr<ClientSocketHandle> transport_;
152 HostPortPair host_and_port_; 152 HostPortPair host_and_port_;
153 SSLConfig ssl_config_; 153 SSLConfig ssl_config_;
154 154
155 scoped_refptr<Core> core_; 155 scoped_refptr<Core> core_;
156 156
157 CompletionCallback user_connect_callback_; 157 CompletionCallback user_connect_callback_;
158 158
159 CertVerifyResult server_cert_verify_result_; 159 CertVerifyResult server_cert_verify_result_;
160 std::vector<SHA1Fingerprint> side_pinned_public_keys_; 160 HashValueVector side_pinned_public_keys_;
161 161
162 CertVerifier* const cert_verifier_; 162 CertVerifier* const cert_verifier_;
163 scoped_ptr<SingleRequestCertVerifier> verifier_; 163 scoped_ptr<SingleRequestCertVerifier> verifier_;
164 164
165 // For domain bound certificates in client auth. 165 // For domain bound certificates in client auth.
166 ServerBoundCertService* server_bound_cert_service_; 166 ServerBoundCertService* server_bound_cert_service_;
167 167
168 // ssl_session_cache_shard_ is an opaque string that partitions the SSL 168 // ssl_session_cache_shard_ is an opaque string that partitions the SSL
169 // session cache. i.e. sessions created with one value will not attempt to 169 // session cache. i.e. sessions created with one value will not attempt to
170 // resume on the socket with a different value. 170 // resume on the socket with a different value.
(...skipping 20 matching lines...) Expand all
191 // Added the following code Debugging in release mode. 191 // Added the following code Debugging in release mode.
192 mutable base::Lock lock_; 192 mutable base::Lock lock_;
193 // This is mutable so that CalledOnValidThread can set it. 193 // This is mutable so that CalledOnValidThread can set it.
194 // It's guarded by |lock_|. 194 // It's guarded by |lock_|.
195 mutable base::PlatformThreadId valid_thread_id_; 195 mutable base::PlatformThreadId valid_thread_id_;
196 }; 196 };
197 197
198 } // namespace net 198 } // namespace net
199 199
200 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 200 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698