Add more detail attributes for certificate-error
This commit is contained in:
parent
6d2e633c82
commit
db39867ad9
3 changed files with 28 additions and 2 deletions
|
@ -179,7 +179,12 @@ Returns:
|
|||
* `error` String - The error code
|
||||
* `certificate` Object
|
||||
* `data` Buffer - PEM encoded data
|
||||
* `issuerName` String
|
||||
* `issuerName` String - Issuer's Common Name
|
||||
* `subjectName` String - Subject's Common Name
|
||||
* `serialNumber` Buffer - DER encoded data
|
||||
* `validStart` Integer - Start date of the certificate being valid
|
||||
* `validExpiry` Integer - End date of the certificate being valid
|
||||
* `fingerprint` String - Fingerprint of the certificate
|
||||
* `callback` Function
|
||||
|
||||
Emitted when failed to verify the `certificate` for `url`, to trust the
|
||||
|
@ -208,6 +213,11 @@ Returns:
|
|||
* `certificateList` [Objects]
|
||||
* `data` Buffer - PEM encoded data
|
||||
* `issuerName` String - Issuer's Common Name
|
||||
* `subjectName` String - Subject's Common Name
|
||||
* `serialNumber` - DER encoded data
|
||||
* `validStart` Integer - Start date of the certificate being valid
|
||||
* `validExpiry` Integer - End date of the certificate being valid
|
||||
* `fingerprint` String - Fingerprint of the certificate
|
||||
* `callback` Function
|
||||
|
||||
Emitted when a client certificate is requested.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue