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

Unified Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 1589703002: Surface SCT (Signed Certificate Timestamp) counts in the Security panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments by rsleevi@ and pfeldman@. Created 4 years, 11 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: third_party/WebKit/Source/devtools/protocol.json
diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json
index bb97598aa6fdd216a6dd6de4c57a55c0794a6d3c..54a003be943974c63b7c0b005ce35c0a80ab359c 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -1234,6 +1234,17 @@
]
},
{
+ "id": "CertificateValidationDetails",
+ "type": "object",
+ "description": "Details about the validation status of a request's certificate.",
+ "properties": [
+ { "name": "isValidEv", "type": "boolean", "description": "Whether the certificate is valid as an Extended Validation (EV) certificate." },
+ { "name": "numUnknownScts", "type": "integer", "description": "The number of SCTs from unknown logs." },
+ { "name": "numInvalidScts", "type": "integer", "description": "The number of invalid SCTs." },
+ { "name": "numValidScts", "type": "integer", "description": "The number of valid SCTs." }
+ ]
+ },
+ {
"id": "SecurityDetails",
"type": "object",
"description": "Security details about a request.",
@@ -1242,7 +1253,8 @@
{ "name": "keyExchange", "type": "string", "description": "Key Exchange used by the connection." },
{ "name": "cipher", "type": "string", "description": "Cipher name." },
{ "name": "mac", "type": "string", "optional": true, "description": "TLS MAC. Note that AEAD ciphers do not have separate MACs." },
- { "name": "certificateId", "$ref": "CertificateId", "description": "Certificate ID value." }
+ { "name": "certificateId", "$ref": "CertificateId", "description": "Certificate ID value." },
+ { "name": "certificateValidationDetails", "$ref": "CertificateValidationDetails", "optional": true, "description": "Validation details for the request's certficate." }
]
},
{
@@ -1514,6 +1526,20 @@
"handlers": ["browser"]
},
{
+ "name": "getCertificateTransparencySummary",
+ "description": "Returns a phrase summarizing the Certificate Transparency state of a certificate with the given parameters..",
+ "parameters": [
+ { "name": "isValidEV", "type": "boolean", "description": "Whether the certificate is valid as an Extended Validation (EV) certificate." },
+ { "name": "numUnknownScts", "type": "integer", "description": "The number of SCTs from unknown logs." },
+ { "name": "numInvalidScts", "type": "integer", "description": "The number of invalid SCTs." },
+ { "name": "numValidScts", "type": "integer", "description": "The number of valid SCTs." }
+ ],
+ "returns": [
+ { "name": "summary", "type": "string", "description": "Certificate Transparency summary." }
+ ],
+ "handlers": ["browser"]
+ },
+ {
"name": "showCertificateViewer",
"description": "Displays native dialog with the certificate details.",
"parameters": [

Powered by Google App Engine
This is Rietveld 408576698