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

Function getCryptoKeyUsages

lib/internal/crypto/keys.js:1225–1227  ·  view source on GitHub ↗

* Returns the CryptoKey's `[[usages]]` internal slot, bypassing the * public `usages` getter (which returns a cloned array). The internal * array is expanded lazily from the native usage mask. * @param {CryptoKey} key * @returns {string[]}

(key)

Source from the content-addressed store, hash-verified

1223 * @returns {string[]}
1224 */
1225function getCryptoKeyUsages(key) {
1226 return getCryptoKeyUsagesFromSlots(getSlots(key));
1227}
1228
1229/**
1230 * Returns the KeyObjectHandle wrapping the CryptoKey's underlying

Callers 2

exportKeyJWKFunction · 0.85
[kInspect]Method · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…