Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: net/base/ssl_info.h

Issue 10545166: Support SHA-256 in public key pins for HTTPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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. 67 // a Certificate message with no client certificate in it does not count.
68 bool client_cert_sent; 68 bool client_cert_sent;
69 69
70 HandshakeType handshake_type; 70 HandshakeType handshake_type;
71 71
72 // The hashes of the SubjectPublicKeyInfos from each certificate in the chain. 72 // The hashes of the SubjectPublicKeyInfos from each certificate in the chain.
73 std::vector<SHA1Fingerprint> public_key_hashes; 73 std::vector<Fingerprint> public_key_hashes;
74 }; 74 };
75 75
76 } // namespace net 76 } // namespace net
77 77
78 #endif // NET_BASE_SSL_INFO_H_ 78 #endif // NET_BASE_SSL_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698