@@ -1090,9 +1090,9 @@ certificate.
1090
1090
#### Certificate object
1091
1091
<!-- YAML
1092
1092
changes:
1093
- - version: v11.4.0
1094
- pr-url: https://github.com/nodejs/node/pull/24358
1095
- description: Support Elliptic Curve public key info.
1093
+ - version: REPLACEME
1094
+ pr-url: https://github.com/nodejs/node/pull/39809
1095
+ description: Add fingerprint512
1096
1096
-->
1097
1097
1098
1098
A certificate object has properties corresponding to the fields of the
@@ -1115,6 +1115,9 @@ certificate.
1115
1115
* ` fingerprint256 ` {string} The SHA-256 digest of the DER encoded certificate.
1116
1116
It is returned as a ` : ` separated hexadecimal string. Example:
1117
1117
` '2A:7A:C2:DD:...' ` .
1118
+ * ` fingerprint512 ` {string} The SHA-512 digest of the DER encoded certificate.
1119
+ It is returned as a ` : ` separated hexadecimal string. Example:
1120
+ ` '2A:7A:C2:DD:...' ` .
1118
1121
* ` ext_key_usage ` {Array} (Optional) The extended key usage, a set of OIDs.
1119
1122
* ` subjectaltname ` {string} (Optional) A string containing concatenated names
1120
1123
for the subject, an alternative to the ` subject ` names.
@@ -1172,6 +1175,7 @@ Example certificate:
1172
1175
valid_to: ' Nov 20 23:59:59 2019 GMT' ,
1173
1176
fingerprint: ' 01:02:59:D9:C3:D2:0D:08:F7:82:4E:44:A4:B4:53:C5:E2:3A:87:4D' ,
1174
1177
fingerprint256: ' 69:AE:1A:6A:D4:3D:C6:C1:1B:EA:C6:23:DE:BA:2A:14:62:62:93:5C:7A:EA:06:41:9B:0B:BC:87:CE:48:4E:02' ,
1178
+ fingerprint512: ' 19:2B:3E:C3:B3:5B:32:E8:AE:BB:78:97:27:E4:BA:6C:39:C9:92:79:4F:31:46:39:E2:70:E5:5F:89:42:17:C9:E8:64:CA:FF:BB:72:56:73:6E:28:8A:92:7E:A3:2A:15:8B:C2:E0:45:CA:C3:BC:EA:40:52:EC:CA:A2:68:CB:32' ,
1175
1179
ext_key_usage: [ ' 1.3.6.1.5.5.7.3.1' , ' 1.3.6.1.5.5.7.3.2' ],
1176
1180
serialNumber: ' 66593D57F20CBC573E433381B5FEC280' ,
1177
1181
raw: < Buffer ... > }
0 commit comments