| 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" |
| 11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
| 12 #include "net/cert/cert_status_flags.h" | 12 #include "net/cert/cert_status_flags.h" |
| 13 #include "net/cert/sct_status_flags.h" |
| 13 #include "net/cert/x509_cert_types.h" | 14 #include "net/cert/x509_cert_types.h" |
| 15 #include "net/ssl/signed_certificate_timestamp_and_status.h" |
| 16 |
| 17 class Pickle; |
| 18 class PickleIterator; |
| 14 | 19 |
| 15 namespace net { | 20 namespace net { |
| 16 | 21 |
| 17 class X509Certificate; | 22 class X509Certificate; |
| 18 | 23 |
| 19 // SSL connection info. | 24 // SSL connection info. |
| 20 // This is really a struct. All members are public. | 25 // This is really a struct. All members are public. |
| 21 class NET_EXPORT SSLInfo { | 26 class NET_EXPORT SSLInfo { |
| 22 public: | 27 public: |
| 23 // HandshakeType enumerates the possible resumption cases after an SSL | 28 // HandshakeType enumerates the possible resumption cases after an SSL |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 bool client_cert_sent; | 72 bool client_cert_sent; |
| 68 | 73 |
| 69 // True if a channel ID was sent to the server. | 74 // True if a channel ID was sent to the server. |
| 70 bool channel_id_sent; | 75 bool channel_id_sent; |
| 71 | 76 |
| 72 HandshakeType handshake_type; | 77 HandshakeType handshake_type; |
| 73 | 78 |
| 74 // The hashes, in several algorithms, of the SubjectPublicKeyInfos from | 79 // The hashes, in several algorithms, of the SubjectPublicKeyInfos from |
| 75 // each certificate in the chain. | 80 // each certificate in the chain. |
| 76 HashValueVector public_key_hashes; | 81 HashValueVector public_key_hashes; |
| 82 |
| 83 // List of SignedCertificateTimestamps and their corresponding validation |
| 84 // status. |
| 85 SignedCertificateTimestampAndStatusList signed_certificate_timestamps; |
| 77 }; | 86 }; |
| 78 | 87 |
| 79 } // namespace net | 88 } // namespace net |
| 80 | 89 |
| 81 #endif // NET_SSL_SSL_INFO_H_ | 90 #endif // NET_SSL_SSL_INFO_H_ |
| OLD | NEW |