| 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 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived | 5 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived |
| 6 // from AuthCertificateCallback() in | 6 // from AuthCertificateCallback() in |
| 7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp. | 7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp. |
| 8 | 8 |
| 9 /* ***** BEGIN LICENSE BLOCK ***** | 9 /* ***** BEGIN LICENSE BLOCK ***** |
| 10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 #include "base/stringprintf.h" | 78 #include "base/stringprintf.h" |
| 79 #include "base/thread_task_runner_handle.h" | 79 #include "base/thread_task_runner_handle.h" |
| 80 #include "base/threading/thread_restrictions.h" | 80 #include "base/threading/thread_restrictions.h" |
| 81 #include "base/values.h" | 81 #include "base/values.h" |
| 82 #include "crypto/ec_private_key.h" | 82 #include "crypto/ec_private_key.h" |
| 83 #include "crypto/nss_util.h" | 83 #include "crypto/nss_util.h" |
| 84 #include "crypto/nss_util_internal.h" | 84 #include "crypto/nss_util_internal.h" |
| 85 #include "crypto/rsa_private_key.h" | 85 #include "crypto/rsa_private_key.h" |
| 86 #include "crypto/scoped_nss_types.h" | 86 #include "crypto/scoped_nss_types.h" |
| 87 #include "net/base/address_list.h" | 87 #include "net/base/address_list.h" |
| 88 #include "net/base/asn1_util.h" | |
| 89 #include "net/base/cert_status_flags.h" | |
| 90 #include "net/base/cert_verifier.h" | |
| 91 #include "net/base/connection_type_histograms.h" | 88 #include "net/base/connection_type_histograms.h" |
| 92 #include "net/base/dns_util.h" | 89 #include "net/base/dns_util.h" |
| 93 #include "net/base/io_buffer.h" | 90 #include "net/base/io_buffer.h" |
| 94 #include "net/base/net_errors.h" | 91 #include "net/base/net_errors.h" |
| 95 #include "net/base/net_log.h" | 92 #include "net/base/net_log.h" |
| 96 #include "net/base/single_request_cert_verifier.h" | 93 #include "net/cert/asn1_util.h" |
| 97 #include "net/base/x509_certificate_net_log_param.h" | 94 #include "net/cert/cert_status_flags.h" |
| 98 #include "net/base/x509_util.h" | 95 #include "net/cert/cert_verifier.h" |
| 96 #include "net/cert/single_request_cert_verifier.h" |
| 97 #include "net/cert/x509_certificate_net_log_param.h" |
| 98 #include "net/cert/x509_util.h" |
| 99 #include "net/http/transport_security_state.h" | 99 #include "net/http/transport_security_state.h" |
| 100 #include "net/ocsp/nss_ocsp.h" | 100 #include "net/ocsp/nss_ocsp.h" |
| 101 #include "net/socket/client_socket_handle.h" | 101 #include "net/socket/client_socket_handle.h" |
| 102 #include "net/socket/nss_ssl_util.h" | 102 #include "net/socket/nss_ssl_util.h" |
| 103 #include "net/socket/ssl_error_params.h" | 103 #include "net/socket/ssl_error_params.h" |
| 104 #include "net/ssl/ssl_cert_request_info.h" | 104 #include "net/ssl/ssl_cert_request_info.h" |
| 105 #include "net/ssl/ssl_connection_status_flags.h" | 105 #include "net/ssl/ssl_connection_status_flags.h" |
| 106 #include "net/ssl/ssl_info.h" | 106 #include "net/ssl/ssl_info.h" |
| 107 | 107 |
| 108 #if defined(OS_WIN) | 108 #if defined(OS_WIN) |
| (...skipping 3421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3530 EnsureThreadIdAssigned(); | 3530 EnsureThreadIdAssigned(); |
| 3531 base::AutoLock auto_lock(lock_); | 3531 base::AutoLock auto_lock(lock_); |
| 3532 return valid_thread_id_ == base::PlatformThread::CurrentId(); | 3532 return valid_thread_id_ == base::PlatformThread::CurrentId(); |
| 3533 } | 3533 } |
| 3534 | 3534 |
| 3535 ServerBoundCertService* SSLClientSocketNSS::GetServerBoundCertService() const { | 3535 ServerBoundCertService* SSLClientSocketNSS::GetServerBoundCertService() const { |
| 3536 return server_bound_cert_service_; | 3536 return server_bound_cert_service_; |
| 3537 } | 3537 } |
| 3538 | 3538 |
| 3539 } // namespace net | 3539 } // namespace net |
| OLD | NEW |