Cleanup docs and standardize structs

This commit is contained in:
Samuel Attard 2016-10-13 14:38:06 +11:00
parent 46cd8708a4
commit 78343a62b8
No known key found for this signature in database
GPG key ID: 273DC1869D8F13EF
5 changed files with 24 additions and 29 deletions

View file

@ -184,14 +184,7 @@ Returns:
* `webContents` [WebContents](web-contents.md)
* `url` URL
* `error` String - The error code
* `certificate` Object
* `data` String - PEM encoded data
* `issuerName` String - Issuer's Common Name
* `subjectName` String - Subject's Common Name
* `serialNumber` String - Hex value represented string
* `validStart` Integer - Start date of the certificate being valid in seconds
* `validExpiry` Integer - End date of the certificate being valid in seconds
* `fingerprint` String - Fingerprint of the certificate
* `certificate` [Certificate](structures/certificate.md)
* `callback` Function
Emitted when failed to verify the `certificate` for `url`, to trust the