Title: Expose the signature algorithm in X509Certificate · Issue #59103 · nodejs/node · GitHub
Open Graph Title: Expose the signature algorithm in X509Certificate · Issue #59103 · nodejs/node
X Title: Expose the signature algorithm in X509Certificate · Issue #59103 · nodejs/node
Description: What is the problem this feature will solve? X509Certificate class was a great addition to help us handling certificates, however it seems that one handy property is not available through its API, the identifier of the algorithm used to ...
Open Graph Description: What is the problem this feature will solve? X509Certificate class was a great addition to help us handling certificates, however it seems that one handy property is not available through its API, ...
X Description: What is the problem this feature will solve? X509Certificate class was a great addition to help us handling certificates, however it seems that one handy property is not available through its API, ...
Opengraph URL: https://github.com/nodejs/node/issues/59103
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Expose the signature algorithm in X509Certificate","articleBody":"### What is the problem this feature will solve?\n\n\n X509Certificate class was a great addition to help us handling certificates,\n however it seems that one handy property is not available through its API, the\n identifier of the algorithm used to sign the certificate.\n\n I'm not sure if I am missing something here but I think it is pretty common\n for to have the name exposed like in the openssl's text output:\n\n ```\n Signature Algorithm: ecdsa-with-SHA384\n ```\n\n\n### What is the feature you are proposing to solve the problem?\n\n Expose a new property with signature algorithm's name the like:\n\n```\nX509Certificate {\n subject: 'CN=example.com',\n subjectAltName: 'DNS:example.com',\n issuer: \"C=US\\nO=Let's Encrypt\\nCN=E6\",\n infoAccess: 'CA Issuers - URI:http://e6.i.lencr.org/',\n ...\n ...\n signatureAlgorithm: 'ecdsa-with-SHA384'\n}\n```\n\n This looks like a pretty straight forward addition to the existing, I would\n like to try, but I wanted to hear if there is any reason why this property is\n not there in the first place.\n\n\n### What alternatives have you considered?\n\nInvoking `openssl x509 -in cert.pem -text` to get the signature algorithm,\nbut I think it is a bit cumbersome when we could use the X509Certificate.","author":{"url":"https://github.com/patrickrbc","@type":"Person","name":"patrickrbc"},"datePublished":"2025-07-17T13:59:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/59103/node/issues/59103"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b804323a-e7e5-f68a-e7d2-26f485bacd78 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8758:1E0654:4932E0:666C25:6A4D0F51 |
| html-safe-nonce | ac97ce6be2218d3ce9c6ac2b18f1a8bce30536b328fdf82f8591348560a5e71a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzU4OjFFMDY1NDo0OTMyRTA6NjY2QzI1OjZBNEQwRjUxIiwidmlzaXRvcl9pZCI6IjE3NTA5NDAwNjEwNTY5NjIzODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 42fff517ba35dc2af00a5fb5209ff0d6a947b9dfd92ab040d975112c33f99fc6 |
| hovercard-subject-tag | issue:3239706238 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/59103/issue_layout |
| twitter:image | https://opengraph.githubassets.com/446665d8cbe0b6afff1459950109fabbcab7bb72106089624ff81962d288d0b3/nodejs/node/issues/59103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/446665d8cbe0b6afff1459950109fabbcab7bb72106089624ff81962d288d0b3/nodejs/node/issues/59103 |
| og:image:alt | What is the problem this feature will solve? X509Certificate class was a great addition to help us handling certificates, however it seems that one handy property is not available through its API, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | patrickrbc |
| hostname | github.com |
| expected-hostname | github.com |
| None | bcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width