node/lib/internal/crypto
Alexander Avakov f692299764 crypto: fix KeyObject handle type error message
Fix KeyObject handle type error message. Add test to cover KeyObject
ERR_INVALID_ARG_TYPE exception.

PR-URL: https://github.com/nodejs/node/pull/27904
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2019-05-30 15:37:02 +02:00
..
certificate.js lib: consolidate arrayBufferView validation 2019-03-27 17:05:19 +01:00
cipher.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
diffiehellman.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
hash.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
keygen.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
keys.js crypto: fix KeyObject handle type error message 2019-05-30 15:37:02 +02:00
pbkdf2.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
random.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
scrypt.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
sig.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
util.js crypto: remove legacy native handles 2019-04-04 16:45:41 +02:00