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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 #include "net/cert/cert_status_flags.h" | 93 #include "net/cert/cert_status_flags.h" |
94 #include "net/cert/cert_verifier.h" | 94 #include "net/cert/cert_verifier.h" |
95 #include "net/cert/ct_ev_whitelist.h" | 95 #include "net/cert/ct_ev_whitelist.h" |
96 #include "net/cert/ct_verifier.h" | 96 #include "net/cert/ct_verifier.h" |
97 #include "net/cert/ct_verify_result.h" | 97 #include "net/cert/ct_verify_result.h" |
98 #include "net/cert/scoped_nss_types.h" | 98 #include "net/cert/scoped_nss_types.h" |
99 #include "net/cert/sct_status_flags.h" | 99 #include "net/cert/sct_status_flags.h" |
100 #include "net/cert/single_request_cert_verifier.h" | 100 #include "net/cert/single_request_cert_verifier.h" |
101 #include "net/cert/x509_certificate_net_log_param.h" | 101 #include "net/cert/x509_certificate_net_log_param.h" |
102 #include "net/cert/x509_util.h" | 102 #include "net/cert/x509_util.h" |
| 103 #include "net/cert_net/nss_ocsp.h" |
103 #include "net/http/transport_security_state.h" | 104 #include "net/http/transport_security_state.h" |
104 #include "net/log/net_log.h" | 105 #include "net/log/net_log.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/ssl/ssl_cert_request_info.h" | 108 #include "net/ssl/ssl_cert_request_info.h" |
109 #include "net/ssl/ssl_cipher_suite_names.h" | 109 #include "net/ssl/ssl_cipher_suite_names.h" |
110 #include "net/ssl/ssl_connection_status_flags.h" | 110 #include "net/ssl/ssl_connection_status_flags.h" |
111 #include "net/ssl/ssl_info.h" | 111 #include "net/ssl/ssl_info.h" |
112 | 112 |
113 #if defined(OS_WIN) | 113 #if defined(OS_WIN) |
114 #include <windows.h> | 114 #include <windows.h> |
115 #include <wincrypt.h> | 115 #include <wincrypt.h> |
(...skipping 3466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3582 scoped_refptr<X509Certificate> | 3582 scoped_refptr<X509Certificate> |
3583 SSLClientSocketNSS::GetUnverifiedServerCertificateChain() const { | 3583 SSLClientSocketNSS::GetUnverifiedServerCertificateChain() const { |
3584 return core_->state().server_cert.get(); | 3584 return core_->state().server_cert.get(); |
3585 } | 3585 } |
3586 | 3586 |
3587 ChannelIDService* SSLClientSocketNSS::GetChannelIDService() const { | 3587 ChannelIDService* SSLClientSocketNSS::GetChannelIDService() const { |
3588 return channel_id_service_; | 3588 return channel_id_service_; |
3589 } | 3589 } |
3590 | 3590 |
3591 } // namespace net | 3591 } // namespace net |
OLD | NEW |