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

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

Issue 88643002: SignedCertificateTimestamp storing & serialization code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erans_patches
Patch Set: remove a spurious content:: Created 7 years 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
OLDNEW
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
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;
wtc 2013/11/28 01:28:02 Another way to store the SCTs in an SSLInfo is to
alcutter 2013/11/28 12:08:19 Spoke with Eran about this, we figured that it's b
wtc 2013/11/28 16:15:07 Good. Thanks. Another idea I considered would be
alcutter 2013/11/28 16:42:18 Yeah, that could be a little surprising.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698