Index: content/public/common/signed_certificate_timestamp_id_and_status.h |
diff --git a/content/public/common/signed_certificate_timestamp_id_and_status.h b/content/public/common/signed_certificate_timestamp_id_and_status.h |
index 66da00832fffe6ecf4d3bd0b0780af33f2326f4d..f81e30dd4426730e1154d48b48baaef3519334c5 100644 |
--- a/content/public/common/signed_certificate_timestamp_id_and_status.h |
+++ b/content/public/common/signed_certificate_timestamp_id_and_status.h |
@@ -5,10 +5,12 @@ |
#ifndef CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_ |
#define CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_ |
+#include <string> |
#include <vector> |
#include "content/common/content_export.h" |
#include "net/cert/sct_status_flags.h" |
+#include "net/cert/signed_certificate_timestamp.h" |
namespace content { |
@@ -16,12 +18,25 @@ namespace content { |
// SignedCertificateTimestampStore), and its verification status. |
struct CONTENT_EXPORT SignedCertificateTimestampIDAndStatus { |
SignedCertificateTimestampIDAndStatus( |
- int id, net::ct::SCTVerifyStatus status); |
+ int id, |
Eran Messeri
2016/03/09 20:58:47
I think you're missing the point of the SCT ID - y
|
+ net::ct::SCTVerifyStatus status, |
+ net::ct::SignedCertificateTimestamp::Version version, |
+ std::string logId, |
+ int64_t timestamp, |
+ net::ct::DigitallySigned signature, |
+ net::ct::SignedCertificateTimestamp::Origin origin, |
+ std::string logDescription); |
bool operator==(const SignedCertificateTimestampIDAndStatus& other) const; |
int id; |
net::ct::SCTVerifyStatus status; |
+ net::ct::SignedCertificateTimestamp::Version version; |
+ std::string logId; |
+ int64_t timestamp; // milliseconds since the epoch |
+ net::ct::DigitallySigned signature; |
+ net::ct::SignedCertificateTimestamp::Origin origin; |
+ std::string logDescription; |
}; |
typedef std::vector<SignedCertificateTimestampIDAndStatus> |