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

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 for wtc. 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 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 class SignedCertificateTimestamp;
17 }
18
19 struct SignedCertificateTimestampAndStatus {
wtc 2013/11/28 16:15:07 Nit: it just occurred to me that if we want to avo
alcutter 2013/11/28 16:42:18 sure thing.
20 SignedCertificateTimestampAndStatus(
21 const scoped_refptr<ct::SignedCertificateTimestamp>& sct,
22 ct::SCTVerifyStatus status);
23
24 scoped_refptr<ct::SignedCertificateTimestamp> sct_;
25 ct::SCTVerifyStatus status_;
26 };
27
28 typedef std::vector<SignedCertificateTimestampAndStatus>
29 SignedCertificateTimestampAndStatusList;
30
31 } // namespace net
32
33 #endif // NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698