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

Side by Side Diff: content/public/common/signed_certificate_timestamp_id_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
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 CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_
6 #define CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_
7
8 #include <vector>
9
10 #include "content/common/content_export.h"
11 #include "net/cert/sct_status_flags.h"
12
13 namespace content {
14
15 // Holds the ID of a SignedCertificateTimestamp (as assigned by
16 // SignedCertificateTimestampStore), and its verification status.
17 struct CONTENT_EXPORT SignedCertificateTimestampIDAndStatus {
18 SignedCertificateTimestampIDAndStatus(
19 int id, net::ct::SCTVerifyStatus status);
20
21 bool operator==(const SignedCertificateTimestampIDAndStatus& other) const;
22
23 int id;
24 net::ct::SCTVerifyStatus status;
25 };
26
27 typedef std::vector<SignedCertificateTimestampIDAndStatus>
28 SignedCertificateTimestampIDStatusList;
29
30 } // namespace content
31
32 #endif // CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/signed_certificate_timestamp_id_and_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698