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_BASE_SSL_INFO_H_ | 5 #ifndef NET_BASE_SSL_INFO_H_ |
6 #define NET_BASE_SSL_INFO_H_ | 6 #define NET_BASE_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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 // True if a client certificate was sent to the server. Note that sending | 65 // True if a client certificate was sent to the server. Note that sending |
66 // a Certificate message with no client certificate in it does not count. | 66 // a Certificate message with no client certificate in it does not count. |
67 bool client_cert_sent; | 67 bool client_cert_sent; |
68 | 68 |
69 // True if a channel ID was sent to the server. | 69 // True if a channel ID was sent to the server. |
70 bool channel_id_sent; | 70 bool channel_id_sent; |
71 | 71 |
72 HandshakeType handshake_type; | 72 HandshakeType handshake_type; |
73 | 73 |
74 // The hashes of the SubjectPublicKeyInfos from each certificate in the chain. | 74 // The hashes of the SubjectPublicKeyInfos from each certificate in the |
75 std::vector<SHA1Fingerprint> public_key_hashes; | 75 // chain. This is a vector of vectors: Index the outer vector with |
| 76 // FingerprintTag, and then the inner HashValueVectors will be |
| 77 // fingerprints made with the algorithm named by the FingerprintTag. |
| 78 std::vector<HashValueVector> public_key_hashes; |
76 }; | 79 }; |
77 | 80 |
78 } // namespace net | 81 } // namespace net |
79 | 82 |
80 #endif // NET_BASE_SSL_INFO_H_ | 83 #endif // NET_BASE_SSL_INFO_H_ |
OLD | NEW |