Web Inspector: Network: add button to show system certificate dialog
[WebKit-https.git] / Source / JavaScriptCore / inspector / protocol / Network.json
index 03aebce..338d745 100644 (file)
             ]
         },
         {
+            "name": "getSerializedCertificate",
+            "description": "Fetches a serialized secure certificate for the given requestId to be displayed via InspectorFrontendHost.showCertificate.",
+            "parameters": [
+                { "name": "requestId", "$ref": "RequestId" }
+            ],
+            "returns": [
+                { "name": "serializedCertificate", "type": "string", "description": "Represents a base64 encoded WebCore::CertificateInfo object." }
+            ]
+        },
+        {
             "name": "resolveWebSocket",
             "description": "Resolves JavaScript WebSocket object for given request id.",
             "parameters": [