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

Function exportKeyImpl

lib/internal/crypto/webcrypto.js:765–772  ·  view source on GitHub ↗
(format, key)

Source from the content-addressed store, hash-verified

763}
764
765function exportKeyImpl(format, key) {
766 const prefix = prepareSubtleMethod(this, 'exportKey', arguments.length, 2);
767 let i = 0;
768 format = convertSubtleArgument(prefix, 'KeyFormat', format, i++);
769 key = convertSubtleArgument(prefix, 'CryptoKey', key, i++);
770
771 return exportKeySync(format, key);
772}
773
774// Parsed JWK arrays are detached from Array.prototype but still need to pass
775// WebIDL sequence conversion, which reads @@iterator from the value.

Callers

nothing calls this directly

Calls 3

prepareSubtleMethodFunction · 0.85
convertSubtleArgumentFunction · 0.85
exportKeySyncFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…