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

Function getCryptoKeyAlgorithm

lib/internal/crypto/keys.js:1180–1182  ·  view source on GitHub ↗

* Returns the CryptoKey's `[[algorithm]]` internal slot, bypassing the * public `algorithm` getter (which returns a cloned copy). * @param {CryptoKey} key * @returns {object}

(key)

Source from the content-addressed store, hash-verified

1178 * @returns {object}
1179 */
1180function getCryptoKeyAlgorithm(key) {
1181 return getSlots(key)[kSlotAlgorithm];
1182}
1183
1184/**
1185 * Returns the CryptoKey's native `[[usages]]` mask.

Callers 15

deriveBitsImplFunction · 0.85
deriveKeyImplFunction · 0.85
exportKeySpkiFunction · 0.85
exportKeyPkcs8Function · 0.85
exportKeyRawPublicFunction · 0.85
exportKeyRawSeedFunction · 0.85
exportKeyRawSecretFunction · 0.85
exportKeyJWKFunction · 0.85
exportKeySyncFunction · 0.85
wrapKeyImplFunction · 0.85
unwrapKeyImplFunction · 0.85
signVerifyFunction · 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…