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

Unified Diff: content/public/common/signed_certificate_timestamp_id_and_status.h

Issue 1772603002: Addition of Certificate Transparency details to Security panel of DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698