Searched refs:privKeyObj (Results 1 – 1 of 1) sorted by relevance
456 const privKeyObj = crypto.createPrivateKey(pair.private); constant459 const sig = crypto.sign(algo, data, privKeyObj);462 assert.strictEqual(crypto.verify(algo, data, privKeyObj, sig), true);