MCPcopy Index your code
hub / github.com/nodejs/node / getCryptoKeyHandle

Function getCryptoKeyHandle

lib/internal/crypto/keys.js:1235–1237  ·  view source on GitHub ↗

* Returns the KeyObjectHandle wrapping the CryptoKey's underlying * key material. * @param {CryptoKey} key * @returns {KeyObjectHandle}

(key)

Source from the content-addressed store, hash-verified

1233 * @returns {KeyObjectHandle}
1234 */
1235function getCryptoKeyHandle(key) {
1236 return getSlots(key)[kSlotHandle];
1237}
1238
1239function isCryptoKey(obj) {
1240 if (obj == null || typeof obj !== 'object')

Callers 15

mlDsaExportKeyFunction · 0.85
mlDsaSignVerifyFunction · 0.85
mlKemExportKeyFunction · 0.85
mlKemEncapsulateFunction · 0.85
mlKemDecapsulateFunction · 0.85
pbkdf2DeriveBitsFunction · 0.85
c20pCipherFunction · 0.85
exportKeyRawSecretFunction · 0.85
exportKeyJWKFunction · 0.85
ecExportKeyFunction · 0.85
ecdsaSignVerifyFunction · 0.85
cfrgExportKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…