OLD | NEW |
---|---|
(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_ | |
OLD | NEW |