Files
node/lib
Filip Skokan 6cc4cf8fe8 crypto: unify asymmetric key import through KeyObjectHandle::Init
Consolidate all asymmetric key import paths (DER/PEM, JWK, raw) into
a single KeyObjectHandle::Init() entry point with a uniform signature.

Remove the per-type C++ init methods (InitECRaw, InitEDRaw, InitPqcRaw,
InitJwk, InitECPrivateRaw) and their JS-side callers, replacing them
with shared C++ and JS helpers.

createPublicKey, createPrivateKey, sign, verify, and other operations
that accept key material now handle JWK and raw formats directly in
C++, removing redundant JS-to-C++ key handle round-trips.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/62499
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2026-04-14 11:00:12 +01:00
..
2020-02-18 22:15:50 -08:00
2020-10-21 01:26:34 +02:00
2024-01-12 16:09:48 +00:00
2025-12-10 16:12:28 +00:00
2025-12-22 16:14:46 +00:00
2024-10-09 06:42:16 +00:00
2026-03-26 05:55:01 +00:00
2025-09-04 11:58:50 +00:00
2026-02-21 16:30:23 +00:00
2026-03-17 07:57:07 +00:00
2026-01-22 10:59:43 +00:00
2025-08-05 13:45:41 +00:00