Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: net/ssl/ssl_info.h

Issue 1174073003: Add served cert chain to SSLInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update HttpResponseInfo::ssl_info comment Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_SSL_SSL_INFO_H_ 5 #ifndef NET_SSL_SSL_INFO_H_
6 #define NET_SSL_SSL_INFO_H_ 6 #define NET_SSL_SSL_INFO_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 HashValueVector public_key_hashes; 78 HashValueVector public_key_hashes;
79 79
80 // pinning_failure_log contains a message produced by 80 // pinning_failure_log contains a message produced by
81 // TransportSecurityState::DomainState::CheckPublicKeyPins in the event of a 81 // TransportSecurityState::DomainState::CheckPublicKeyPins in the event of a
82 // pinning failure. It is a (somewhat) human-readable string. 82 // pinning failure. It is a (somewhat) human-readable string.
83 std::string pinning_failure_log; 83 std::string pinning_failure_log;
84 84
85 // List of SignedCertificateTimestamps and their corresponding validation 85 // List of SignedCertificateTimestamps and their corresponding validation
86 // status. 86 // status.
87 SignedCertificateTimestampAndStatusList signed_certificate_timestamps; 87 SignedCertificateTimestampAndStatusList signed_certificate_timestamps;
88
89 // The SSL certificate as received by the client. Can be different
90 // from |cert|, which is the chain as built by the client during
91 // validation.
92 scoped_refptr<X509Certificate> unverified_cert;
Ryan Sleevi 2015/06/12 21:14:06 nit: Seems like this might be better up at line 45
estark 2015/06/12 21:20:41 Done.
88 }; 93 };
89 94
90 } // namespace net 95 } // namespace net
91 96
92 #endif // NET_SSL_SSL_INFO_H_ 97 #endif // NET_SSL_SSL_INFO_H_
OLDNEW
« net/socket/ssl_client_socket_unittest.cc ('K') | « net/socket/ssl_client_socket_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698