Add missing property to PeerCertificate (#43717)

The certificate object contains a property called 'fingerprint256'.
See https://nodejs.org/docs/latest/api/tls.html#tls_certificate_object
for details.
This commit is contained in:
Christian Weder 2020-04-08 21:01:21 +02:00 committed by GitHub
parent d30f4a95c1
commit 56b65142ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

1
types/node/tls.d.ts vendored
View File

@ -44,6 +44,7 @@ declare module "tls" {
valid_from: string;
valid_to: string;
fingerprint: string;
fingerprint256: string;
ext_key_usage: string[];
serialNumber: string;
raw: Buffer;

View File

@ -44,6 +44,7 @@ declare module "tls" {
valid_from: string;
valid_to: string;
fingerprint: string;
fingerprint256: string;
ext_key_usage: string[];
serialNumber: string;
raw: Buffer;

View File

@ -44,6 +44,7 @@ declare module "tls" {
valid_from: string;
valid_to: string;
fingerprint: string;
fingerprint256: string;
ext_key_usage: string[];
serialNumber: string;
raw: Buffer;

View File

@ -44,6 +44,7 @@ declare module "tls" {
valid_from: string;
valid_to: string;
fingerprint: string;
fingerprint256: string;
ext_key_usage: string[];
serialNumber: string;
raw: Buffer;