diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-08-11 06:28:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-11 18:58:54 +0530 |
commit | b61fd622a5facc0ec29a8c3b04289ff5354ae03f (patch) | |
tree | ba6e5bf4c9e4fbb592f5dac719b22f2859ac5cbf /ext/node/lib.rs | |
parent | d6f662ac8280511fb4ef0f81777a0a6c5c08c0fa (diff) |
fix(ext/node): rewrite X509Certificate resource and add `publicKey()` (#24988)
**Changes**:
- Remove unsafe usage, rewrite Rust representation with `yoke`.
- Implement `X509Certificate.prototype.publicKey()`
Fixes https://github.com/denoland/deno/issues/23307
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r-- | ext/node/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index 8f4adfbd1..73b4497fc 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -311,6 +311,7 @@ deno_core::extension!(deno_node, ops::crypto::x509::op_node_x509_get_valid_to, ops::crypto::x509::op_node_x509_get_serial_number, ops::crypto::x509::op_node_x509_key_usage, + ops::crypto::x509::op_node_x509_public_key, ops::fs::op_node_fs_exists_sync<P>, ops::fs::op_node_fs_exists<P>, ops::fs::op_node_cp_sync<P>, |