← Back to Network domain
Network.getCertificate
Returns the DER-encoded certificate.
Domain: Network
experimental
Parameters
| Name | Type | Description |
origin | string | Origin to get certificate for. |
Returns
| Name | Type | Description |
tableNames | array | |
Example Request
{
"id": 1,
"method": "Network.getCertificate",
"params": {
"origin": "origin-value"
}
}
Example Response
{
"id": 1,
"result": {
"tableNames": []
}
}
Usage in Node.js
const result = await send('Network.getCertificate', {"origin": "origin-value"});
console.log(result);
// {"tableNames": []}