MCPcopy Create free account
hub / github.com/nodejs/node / getKeyFileName

Function getKeyFileName

test/parallel/test-crypto-pqc-key-objects-slh-dsa.js:17–19  ·  view source on GitHub ↗
(type, suffix)

Source from the content-addressed store, hash-verified

15const fixtures = require('../common/fixtures');
16
17function getKeyFileName(type, suffix) {
18 return `${type.replaceAll('-', '_')}_${suffix}.pem`;
19}
20
21for (const asymmetricKeyType of [
22 'slh-dsa-sha2-128f', 'slh-dsa-sha2-128s', 'slh-dsa-sha2-192f', 'slh-dsa-sha2-192s',

Calls

no outgoing calls

Tested by

no test coverage detected