diff options
author | Tobias Nießen <tniessen@tnie.de> | 2018-09-02 18:00:01 +0300 |
---|---|---|
committer | Tobias Nießen <tniessen@tnie.de> | 2018-09-20 15:31:14 +0300 |
commit | 8c502f54cec557959861d0ec837ad30b020c1dca (patch) | |
tree | 89447bbb9b24a145191b2b0fd7dbef0c612bc9d9 /src/async_wrap.h | |
parent | df9abb638dbaeac73f191d55088ceea90bb0590b (diff) |
crypto: add API for key pair generation
This adds support for RSA, DSA and EC key pair generation with a
variety of possible output formats etc.
PR-URL: https://github.com/nodejs/node/pull/22660
Fixes: https://github.com/nodejs/node/issues/15116
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/async_wrap.h')
-rw-r--r-- | src/async_wrap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/async_wrap.h b/src/async_wrap.h index ee04479de06..b10676ce1d0 100644 --- a/src/async_wrap.h +++ b/src/async_wrap.h @@ -73,6 +73,7 @@ namespace node { #if HAVE_OPENSSL #define NODE_ASYNC_CRYPTO_PROVIDER_TYPES(V) \ V(PBKDF2REQUEST) \ + V(KEYPAIRGENREQUEST) \ V(RANDOMBYTESREQUEST) \ V(SCRYPTREQUEST) \ V(TLSWRAP) |