mirror of
https://github.com/darlinghq/darling-JavaScriptCore.git
synced 2024-11-23 04:09:40 +00:00
39 lines
1.8 KiB
JSON
39 lines
1.8 KiB
JSON
{
|
|
"domain": "Security",
|
|
"description": "Security domain allows the frontend to query for information relating to the security of the page (e.g. HTTPS info, TLS info, user activity, etc.).",
|
|
"debuggableTypes": ["itml", "page", "service-worker", "web-page"],
|
|
"targetTypes": ["itml", "page", "service-worker"],
|
|
"types": [
|
|
{
|
|
"id": "Connection",
|
|
"type": "object",
|
|
"description": "Information about a SSL connection to display in the frontend.",
|
|
"properties": [
|
|
{ "name": "protocol", "type": "string", "optional": true },
|
|
{ "name": "cipher", "type": "string", "optional": true }
|
|
]
|
|
},
|
|
{
|
|
"id": "Certificate",
|
|
"type": "object",
|
|
"description": "Information about a SSL certificate to display in the frontend.",
|
|
"properties": [
|
|
{ "name": "subject", "type": "string", "optional": true },
|
|
{ "name": "validFrom", "$ref": "Network.Walltime", "optional": true },
|
|
{ "name": "validUntil", "$ref": "Network.Walltime", "optional": true },
|
|
{ "name": "dnsNames", "type": "array", "items": { "type": "string" }, "optional": true, "description": "DNS names listed on the certificate."},
|
|
{ "name": "ipAddresses", "type": "array", "items": { "type": "string" }, "optional": true, "description": "IP addresses listed on the certificate."}
|
|
]
|
|
},
|
|
{
|
|
"id": "Security",
|
|
"type": "object",
|
|
"description": "Security information for a given Network.Response.",
|
|
"properties": [
|
|
{ "name": "connection", "$ref": "Connection", "optional": true },
|
|
{ "name": "certificate", "$ref": "Certificate", "optional": true }
|
|
]
|
|
}
|
|
]
|
|
}
|