OLD | NEW |
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 <openssl/base.h> | 8 #include <openssl/base.h> |
9 #include <openssl/ssl.h> | 9 #include <openssl/ssl.h> |
10 | 10 |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 // True if the current session was newly-established, but the certificate had | 312 // True if the current session was newly-established, but the certificate had |
313 // not yet been verified externally, so it cannot be inserted into the cache | 313 // not yet been verified externally, so it cannot be inserted into the cache |
314 // until later. | 314 // until later. |
315 bool session_pending_; | 315 bool session_pending_; |
316 // True if the initial handshake's certificate has been verified. | 316 // True if the initial handshake's certificate has been verified. |
317 bool certificate_verified_; | 317 bool certificate_verified_; |
318 // The request handle for |channel_id_service_|. | 318 // The request handle for |channel_id_service_|. |
319 ChannelIDService::Request channel_id_request_; | 319 ChannelIDService::Request channel_id_request_; |
320 SSLFailureState ssl_failure_state_; | 320 SSLFailureState ssl_failure_state_; |
321 | 321 |
322 scoped_ptr<SSLPrivateKey> private_key_; | 322 scoped_refptr<SSLPrivateKey> private_key_; |
323 int signature_result_; | 323 int signature_result_; |
324 std::vector<uint8_t> signature_; | 324 std::vector<uint8_t> signature_; |
325 | 325 |
326 TransportSecurityState* transport_security_state_; | 326 TransportSecurityState* transport_security_state_; |
327 | 327 |
328 CertPolicyEnforcer* const policy_enforcer_; | 328 CertPolicyEnforcer* const policy_enforcer_; |
329 | 329 |
330 // pinning_failure_log contains a message produced by | 330 // pinning_failure_log contains a message produced by |
331 // TransportSecurityState::CheckPublicKeyPins in the event of a | 331 // TransportSecurityState::CheckPublicKeyPins in the event of a |
332 // pinning failure. It is a (somewhat) human-readable string. | 332 // pinning failure. It is a (somewhat) human-readable string. |
333 std::string pinning_failure_log_; | 333 std::string pinning_failure_log_; |
334 | 334 |
335 BoundNetLog net_log_; | 335 BoundNetLog net_log_; |
336 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; | 336 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; |
337 }; | 337 }; |
338 | 338 |
339 } // namespace net | 339 } // namespace net |
340 | 340 |
341 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 341 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
OLD | NEW |