Commit bf868fd
tls: add "ca" property to certificate object
The objects returned by getPeerCertificate() now have an additional "ca"
boolean property that indicates whether the certificate is a Certificate
Authority certificate or not.
Fixes: #44905
PR-URL: #44935
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <midawson@redhat.com>1 parent 0e9bad9 commit bf868fdCopy full SHA for bf868fd
File tree
Expand file treeCollapse file tree
4 files changed
+12
-1
lines changedOpen diff view settings
Filter options
- doc/api
- src
- crypto
- test/parallel
Expand file treeCollapse file tree
4 files changed
+12
-1
lines changedOpen diff view settings
Collapse file
+4Lines changed: 4 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1173 | 1173 | |
1174 | 1174 | |
1175 | 1175 | |
| 1176 | + |
| 1177 | + |
| 1178 | + |
1176 | 1179 | |
1177 | 1180 | |
1178 | 1181 | |
| ||
1186 | 1189 | |
1187 | 1190 | |
1188 | 1191 | |
| 1192 | + |
1189 | 1193 | |
1190 | 1194 | |
1191 | 1195 | |
|
Collapse file
src/crypto/crypto_common.cc
Copy file name to clipboardExpand all lines: src/crypto/crypto_common.cc+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
| 30 | + |
30 | 31 | |
31 | 32 | |
32 | 33 | |
| ||
1260 | 1261 | |
1261 | 1262 | |
1262 | 1263 | |
| 1264 | + |
| 1265 | + |
1263 | 1266 | |
1264 | 1267 | |
1265 | 1268 | |
| ||
1275 | 1278 | |
1276 | 1279 | |
1277 | 1280 | |
1278 | | - |
| 1281 | + |
| 1282 | + |
1279 | 1283 | |
1280 | 1284 | |
1281 | 1285 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
57 | 57 | |
58 | 58 | |
59 | 59 | |
| 60 | + |
60 | 61 | |
61 | 62 | |
62 | 63 | |
|
Collapse file
test/parallel/test-tls-peer-certificate.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-peer-certificate.js+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
52 | 52 | |
53 | 53 | |
54 | 54 | |
| 55 | + |
| 56 | + |
55 | 57 | |
56 | 58 | |
57 | 59 | |
|
0 commit comments