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

Function wrapKey

lib/internal/crypto/webcrypto.js:1025–1027  ·  view source on GitHub ↗
(format, key, wrappingKey, wrapAlgorithm)

Source from the content-addressed store, hash-verified

1023// subtle.wrapKey() is essentially a subtle.exportKey() followed
1024// by a subtle.encrypt().
1025function wrapKey(format, key, wrappingKey, wrapAlgorithm) {
1026 return callSubtleCryptoMethod(wrapKeyImpl, this, arguments);
1027}
1028
1029function wrapKeyImpl(format, key, wrappingKey, wrapAlgorithm) {
1030 const prefix = prepareSubtleMethod(this, 'wrapKey', arguments.length, 4);

Callers

nothing calls this directly

Calls 1

callSubtleCryptoMethodFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…