| 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_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 Loading... |
| 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> served_cert; |
| 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_ |
| OLD | NEW |