Home
last modified time | relevance | path

Searched refs:privKeyObj (Results 1 – 1 of 1) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-sign-verify.js456 const privKeyObj = crypto.createPrivateKey(pair.private); constant
459 const sig = crypto.sign(algo, data, privKeyObj);
462 assert.strictEqual(crypto.verify(algo, data, privKeyObj, sig), true);