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 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 bool certificate_verified_; | 342 bool certificate_verified_; |
343 // The request handle for |channel_id_service_|. | 343 // The request handle for |channel_id_service_|. |
344 ChannelIDService::Request channel_id_request_; | 344 ChannelIDService::Request channel_id_request_; |
345 SSLFailureState ssl_failure_state_; | 345 SSLFailureState ssl_failure_state_; |
346 | 346 |
347 int signature_result_; | 347 int signature_result_; |
348 std::vector<uint8_t> signature_; | 348 std::vector<uint8_t> signature_; |
349 | 349 |
350 TransportSecurityState* transport_security_state_; | 350 TransportSecurityState* transport_security_state_; |
351 | 351 |
352 CertPolicyEnforcer* const policy_enforcer_; | 352 CTPolicyEnforcer* const policy_enforcer_; |
353 | 353 |
354 // pinning_failure_log contains a message produced by | 354 // pinning_failure_log contains a message produced by |
355 // TransportSecurityState::CheckPublicKeyPins in the event of a | 355 // TransportSecurityState::CheckPublicKeyPins in the event of a |
356 // pinning failure. It is a (somewhat) human-readable string. | 356 // pinning failure. It is a (somewhat) human-readable string. |
357 std::string pinning_failure_log_; | 357 std::string pinning_failure_log_; |
358 | 358 |
359 BoundNetLog net_log_; | 359 BoundNetLog net_log_; |
360 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; | 360 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; |
361 }; | 361 }; |
362 | 362 |
363 } // namespace net | 363 } // namespace net |
364 | 364 |
365 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 365 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
OLD | NEW |