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

Function Verify

lib/internal/crypto/sig.js:219–227  ·  view source on GitHub ↗
(algorithm, options)

Source from the content-addressed store, hash-verified

217}
218
219function Verify(algorithm, options) {
220 if (!(this instanceof Verify))
221 return new Verify(algorithm, options);
222 validateString(algorithm, 'algorithm');
223 this[kHandle] = new _Verify();
224 this[kHandle].init(algorithm);
225
226 FunctionPrototypeCall(Writable, this, options);
227}
228
229ObjectSetPrototypeOf(Verify.prototype, Writable.prototype);
230ObjectSetPrototypeOf(Verify, Writable);

Callers 1

Calls 1

initMethod · 0.45

Tested by

no test coverage detected