OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 // Information about the SSL connection itself. See | 57 // Information about the SSL connection itself. See |
58 // ssl_connection_status_flags.h for values. The protocol version, | 58 // ssl_connection_status_flags.h for values. The protocol version, |
59 // ciphersuite, and compression in use are encoded within. | 59 // ciphersuite, and compression in use are encoded within. |
60 int connection_status; | 60 int connection_status; |
61 | 61 |
62 // If the certificate is valid, then this is true iff it was rooted at a | 62 // If the certificate is valid, then this is true iff it was rooted at a |
63 // standard CA root. (As opposed to a user-installed root.) | 63 // standard CA root. (As opposed to a user-installed root.) |
64 bool is_issued_by_known_root; | 64 bool is_issued_by_known_root; |
65 | 65 |
| 66 // True if a client certificate was sent to the server. Note that sending |
| 67 // a Certificate message with no client certificate in it does not count. |
| 68 bool client_cert_sent; |
| 69 |
66 HandshakeType handshake_type; | 70 HandshakeType handshake_type; |
67 | 71 |
68 // The hashes of the SubjectPublicKeyInfos from each certificate in the chain. | 72 // The hashes of the SubjectPublicKeyInfos from each certificate in the chain. |
69 std::vector<SHA1Fingerprint> public_key_hashes; | 73 std::vector<SHA1Fingerprint> public_key_hashes; |
70 }; | 74 }; |
71 | 75 |
72 } // namespace net | 76 } // namespace net |
73 | 77 |
74 #endif // NET_BASE_SSL_INFO_H_ | 78 #endif // NET_BASE_SSL_INFO_H_ |
OLD | NEW |