| 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/cert_status_flags.h" | |
| 12 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
| 13 #include "net/base/x509_cert_types.h" | 12 #include "net/cert/cert_status_flags.h" |
| 13 #include "net/cert/x509_cert_types.h" |
| 14 | 14 |
| 15 namespace net { | 15 namespace net { |
| 16 | 16 |
| 17 class X509Certificate; | 17 class X509Certificate; |
| 18 | 18 |
| 19 // SSL connection info. | 19 // SSL connection info. |
| 20 // This is really a struct. All members are public. | 20 // This is really a struct. All members are public. |
| 21 class NET_EXPORT SSLInfo { | 21 class NET_EXPORT SSLInfo { |
| 22 public: | 22 public: |
| 23 // HandshakeType enumerates the possible resumption cases after an SSL | 23 // HandshakeType enumerates the possible resumption cases after an SSL |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 HandshakeType handshake_type; | 72 HandshakeType handshake_type; |
| 73 | 73 |
| 74 // The hashes, in several algorithms, of the SubjectPublicKeyInfos from | 74 // The hashes, in several algorithms, of the SubjectPublicKeyInfos from |
| 75 // each certificate in the chain. | 75 // each certificate in the chain. |
| 76 HashValueVector public_key_hashes; | 76 HashValueVector public_key_hashes; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace net | 79 } // namespace net |
| 80 | 80 |
| 81 #endif // NET_SSL_SSL_INFO_H_ | 81 #endif // NET_SSL_SSL_INFO_H_ |
| OLD | NEW |