| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 #include "net/cert/ct_verify_result.h" | 98 #include "net/cert/ct_verify_result.h" |
| 99 #include "net/cert/scoped_nss_types.h" | 99 #include "net/cert/scoped_nss_types.h" |
| 100 #include "net/cert/sct_status_flags.h" | 100 #include "net/cert/sct_status_flags.h" |
| 101 #include "net/cert/single_request_cert_verifier.h" | 101 #include "net/cert/single_request_cert_verifier.h" |
| 102 #include "net/cert/x509_certificate_net_log_param.h" | 102 #include "net/cert/x509_certificate_net_log_param.h" |
| 103 #include "net/cert/x509_util.h" | 103 #include "net/cert/x509_util.h" |
| 104 #include "net/http/transport_security_state.h" | 104 #include "net/http/transport_security_state.h" |
| 105 #include "net/ocsp/nss_ocsp.h" | 105 #include "net/ocsp/nss_ocsp.h" |
| 106 #include "net/socket/client_socket_handle.h" | 106 #include "net/socket/client_socket_handle.h" |
| 107 #include "net/socket/nss_ssl_util.h" | 107 #include "net/socket/nss_ssl_util.h" |
| 108 #include "net/socket/ssl_error_params.h" | |
| 109 #include "net/ssl/ssl_cert_request_info.h" | 108 #include "net/ssl/ssl_cert_request_info.h" |
| 110 #include "net/ssl/ssl_connection_status_flags.h" | 109 #include "net/ssl/ssl_connection_status_flags.h" |
| 111 #include "net/ssl/ssl_info.h" | 110 #include "net/ssl/ssl_info.h" |
| 112 | 111 |
| 113 #if defined(OS_WIN) | 112 #if defined(OS_WIN) |
| 114 #include <windows.h> | 113 #include <windows.h> |
| 115 #include <wincrypt.h> | 114 #include <wincrypt.h> |
| 116 | 115 |
| 117 #include "base/win/windows_version.h" | 116 #include "base/win/windows_version.h" |
| 118 #elif defined(OS_MACOSX) | 117 #elif defined(OS_MACOSX) |
| (...skipping 3423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3542 scoped_refptr<X509Certificate> | 3541 scoped_refptr<X509Certificate> |
| 3543 SSLClientSocketNSS::GetUnverifiedServerCertificateChain() const { | 3542 SSLClientSocketNSS::GetUnverifiedServerCertificateChain() const { |
| 3544 return core_->state().server_cert.get(); | 3543 return core_->state().server_cert.get(); |
| 3545 } | 3544 } |
| 3546 | 3545 |
| 3547 ChannelIDService* SSLClientSocketNSS::GetChannelIDService() const { | 3546 ChannelIDService* SSLClientSocketNSS::GetChannelIDService() const { |
| 3548 return channel_id_service_; | 3547 return channel_id_service_; |
| 3549 } | 3548 } |
| 3550 | 3549 |
| 3551 } // namespace net | 3550 } // namespace net |
| OLD | NEW |