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

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

Issue 88643002: SignedCertificateTimestamp storing & serialization code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erans_patches
Patch Set: fixes 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
« no previous file with comments | « net/socket/ssl_client_socket_nss.cc ('k') | net/ssl/signed_certificate_timestamp_and_status.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_
6 #define NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_
7
8 #include <vector>
9
10 #include "base/memory/ref_counted.h"
11 #include "net/cert/sct_status_flags.h"
12
13 namespace net {
14
15 namespace ct {
16 struct SignedCertificateTimestamp;
17 }
18
19 struct SignedCertificateTimestampAndStatus {
20 SignedCertificateTimestampAndStatus(
21 const scoped_refptr<ct::SignedCertificateTimestamp>& sct,
22 ct::SCTVerifyStatus status);
23
24 ~SignedCertificateTimestampAndStatus();
25
26 scoped_refptr<ct::SignedCertificateTimestamp> sct_;
27 ct::SCTVerifyStatus status_;
28 };
29
30 typedef std::vector<SignedCertificateTimestampAndStatus>
31 SignedCertificateTimestampAndStatusList;
32
33 } // namespace net
34
35 #endif // NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_nss.cc ('k') | net/ssl/signed_certificate_timestamp_and_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698