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

Unified Diff: third_party/WebKit/public/platform/WebURLResponse.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: rebase Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebURLResponse.h
diff --git a/third_party/WebKit/public/platform/WebURLResponse.h b/third_party/WebKit/public/platform/WebURLResponse.h
index 8eeee1055ef726c37a05b5897e1f75586a0f9dec..7ab714f9aacc3c78575b4b205eaf47ac4a8ec323 100644
--- a/third_party/WebKit/public/platform/WebURLResponse.h
+++ b/third_party/WebKit/public/platform/WebURLResponse.h
@@ -62,8 +62,49 @@ public:
SecurityStyleAuthenticated
};
+ struct SignedCertificateTimestamp {
+ SignedCertificateTimestamp() {}
+ SignedCertificateTimestamp(
+ WebString status,
+ WebString origin,
+ WebString logDescription,
+ WebString logId,
+ int64_t timestamp,
+ WebString hashAlgorithm,
+ WebString signatureAlgorithm,
+ WebString signatureData)
+ : status(status)
+ , origin(origin)
+ , logDescription(logDescription)
+ , logId(logId)
+ , timestamp(timestamp)
+ , hashAlgorithm(hashAlgorithm)
+ , signatureAlgorithm(signatureAlgorithm)
+ , signatureData(signatureData)
+ {
+ }
+ WebString status;
+ WebString origin;
+ WebString logDescription;
+ WebString logId;
+ int64_t timestamp;
+ WebString hashAlgorithm;
+ WebString signatureAlgorithm;
+ WebString signatureData;
+ };
+
+ using SignedCertificateTimestampList = WebVector<SignedCertificateTimestamp>;
+
struct WebSecurityDetails {
- WebSecurityDetails(const WebString& protocol, const WebString& keyExchange, const WebString& cipher, const WebString& mac, int certId, size_t numUnknownScts, size_t numInvalidScts, size_t numValidScts)
+ WebSecurityDetails(const WebString& protocol,
+ const WebString& keyExchange,
+ const WebString& cipher,
+ const WebString& mac,
+ int certId,
+ size_t numUnknownScts,
+ size_t numInvalidScts,
+ size_t numValidScts,
+ const SignedCertificateTimestampList& sctList)
: protocol(protocol)
, keyExchange(keyExchange)
, cipher(cipher)
@@ -72,6 +113,7 @@ public:
, numUnknownScts(numUnknownScts)
, numInvalidScts(numInvalidScts)
, numValidScts(numValidScts)
+ , sctList(sctList)
{
}
// All strings are human-readable values.
@@ -85,6 +127,7 @@ public:
size_t numUnknownScts;
size_t numInvalidScts;
size_t numValidScts;
+ SignedCertificateTimestampList sctList;
};
class ExtraData {
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698