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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications.", 10 "description": "Enables inspector domain notifications.",
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 "type": "object", 1227 "type": "object",
1228 "description": "Details about a request's certificate.", 1228 "description": "Details about a request's certificate.",
1229 "properties": [ 1229 "properties": [
1230 { "name": "subject", "$ref": "CertificateSubject", "descript ion": "Certificate subject." }, 1230 { "name": "subject", "$ref": "CertificateSubject", "descript ion": "Certificate subject." },
1231 { "name": "issuer", "type": "string", "description": "Name o f the issuing CA." }, 1231 { "name": "issuer", "type": "string", "description": "Name o f the issuing CA." },
1232 { "name": "validFrom", "$ref": "Timestamp", "description": " Certificate valid from date." }, 1232 { "name": "validFrom", "$ref": "Timestamp", "description": " Certificate valid from date." },
1233 { "name": "validTo", "$ref": "Timestamp", "description": "Ce rtificate valid to (expiration) date" } 1233 { "name": "validTo", "$ref": "Timestamp", "description": "Ce rtificate valid to (expiration) date" }
1234 ] 1234 ]
1235 }, 1235 },
1236 { 1236 {
1237 "id": "CertificateValidationDetails",
1238 "type": "object",
1239 "description": "Details about the validation status of a request 's certificate.",
1240 "properties": [
1241 { "name": "isValidEv", "type": "boolean", "description": "Wh ether the certificate is valid as an Extended Validation (EV) certificate." },
1242 { "name": "numUnknownScts", "type": "integer", "description" : "The number of SCTs from unknown logs." },
1243 { "name": "numInvalidScts", "type": "integer", "description" : "The number of invalid SCTs." },
1244 { "name": "numValidScts", "type": "integer", "description": "The number of valid SCTs." }
1245 ]
1246 },
1247 {
1237 "id": "SecurityDetails", 1248 "id": "SecurityDetails",
1238 "type": "object", 1249 "type": "object",
1239 "description": "Security details about a request.", 1250 "description": "Security details about a request.",
1240 "properties": [ 1251 "properties": [
1241 { "name": "protocol", "type": "string", "description": "Prot ocol name (e.g. \"TLS 1.2\" or \"QUIC\")." }, 1252 { "name": "protocol", "type": "string", "description": "Prot ocol name (e.g. \"TLS 1.2\" or \"QUIC\")." },
1242 { "name": "keyExchange", "type": "string", "description": "K ey Exchange used by the connection." }, 1253 { "name": "keyExchange", "type": "string", "description": "K ey Exchange used by the connection." },
1243 { "name": "cipher", "type": "string", "description": "Cipher name." }, 1254 { "name": "cipher", "type": "string", "description": "Cipher name." },
1244 { "name": "mac", "type": "string", "optional": true, "descri ption": "TLS MAC. Note that AEAD ciphers do not have separate MACs." }, 1255 { "name": "mac", "type": "string", "optional": true, "descri ption": "TLS MAC. Note that AEAD ciphers do not have separate MACs." },
1245 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "Certificate ID value." } 1256 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "Certificate ID value." },
1257 { "name": "certificateValidationDetails", "$ref": "Certifica teValidationDetails", "optional": true, "description": "Validation details for t he request's certficate." }
1246 ] 1258 ]
1247 }, 1259 },
1248 { 1260 {
1249 "id": "BlockedReason", 1261 "id": "BlockedReason",
1250 "type": "string", 1262 "type": "string",
1251 "description": "The reason why request was blocked.", 1263 "description": "The reason why request was blocked.",
1252 "enum": ["csp", "mixed-content", "origin", "inspector", "other"] , 1264 "enum": ["csp", "mixed-content", "origin", "inspector", "other"] ,
1253 "hidden": true 1265 "hidden": true
1254 }, 1266 },
1255 { 1267 {
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1507 "description": "Returns details for the given certificate.", 1519 "description": "Returns details for the given certificate.",
1508 "parameters": [ 1520 "parameters": [
1509 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "ID of the certificate to get details for." } 1521 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "ID of the certificate to get details for." }
1510 ], 1522 ],
1511 "returns": [ 1523 "returns": [
1512 { "name": "result", "$ref": "CertificateDetails", "descripti on": "Certificate details." } 1524 { "name": "result", "$ref": "CertificateDetails", "descripti on": "Certificate details." }
1513 ], 1525 ],
1514 "handlers": ["browser"] 1526 "handlers": ["browser"]
1515 }, 1527 },
1516 { 1528 {
1529 "name": "getCertificateTransparencySummary",
1530 "description": "Returns a phrase summarizing the Certificate Tra nsparency state of a certificate with the given parameters..",
Ryan Sleevi 2016/01/23 01:00:50 This is tied to an individual socket, right? Becau
lgarron 2016/01/23 01:09:03 Yes, you're right, is a slightly sloppy descriptio
1531 "parameters": [
1532 { "name": "isValidEV", "type": "boolean", "description": "Wh ether the certificate is valid as an Extended Validation (EV) certificate." },
pfeldman 2016/01/19 17:54:49 These seem to match the ones returned with the Sec
lgarron 2016/01/22 22:51:28 The calculation is a Chrome-specific policy that s
pfeldman 2016/01/23 00:57:25 Is there a primary key that you could use to refer
1533 { "name": "numUnknownScts", "type": "integer", "description" : "The number of SCTs from unknown logs." },
1534 { "name": "numInvalidScts", "type": "integer", "description" : "The number of invalid SCTs." },
1535 { "name": "numValidScts", "type": "integer", "description": "The number of valid SCTs." }
1536 ],
1537 "returns": [
1538 { "name": "summary", "type": "string", "description": "Certi ficate Transparency summary." }
1539 ],
1540 "handlers": ["browser"]
1541 },
1542 {
1517 "name": "showCertificateViewer", 1543 "name": "showCertificateViewer",
1518 "description": "Displays native dialog with the certificate deta ils.", 1544 "description": "Displays native dialog with the certificate deta ils.",
1519 "parameters": [ 1545 "parameters": [
1520 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "Certificate id." } 1546 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "Certificate id." }
1521 ], 1547 ],
1522 "handlers": ["browser"] 1548 "handlers": ["browser"]
1523 } 1549 }
1524 ], 1550 ],
1525 "events": [ 1551 "events": [
1526 { 1552 {
(...skipping 3781 matching lines...) Expand 10 before | Expand all | Expand 10 after
5308 ], 5334 ],
5309 "returns": [ 5335 "returns": [
5310 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5336 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5311 ], 5337 ],
5312 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5338 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5313 "hidden": true 5339 "hidden": true
5314 } 5340 }
5315 ] 5341 ]
5316 }] 5342 }]
5317 } 5343 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698