Home
last modified time | relevance | path

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

/third_party/node/deps/npm/node_modules/sshpk/lib/
Dkey.js128 var hashAlgo = 'sha1';
130 hashAlgo = 'sha256';
132 hashAlgo = 'sha256';
134 hashAlgo = 'sha512';
137 hashAlgo = 'sha256';
139 hashAlgo = 'sha384';
141 hashAlgo = 'sha512';
143 return (hashAlgo);
146 Key.prototype.createVerify = function (hashAlgo) { argument
147 if (hashAlgo === undefined)
[all …]
Dprivate-key.js133 PrivateKey.prototype.createVerify = function (hashAlgo) { argument
134 return (this.toPublic().createVerify(hashAlgo));
137 PrivateKey.prototype.createSign = function (hashAlgo) { argument
138 if (hashAlgo === undefined)
139 hashAlgo = this.defaultHashAlgorithm();
140 assert.string(hashAlgo, 'hash algorithm');
144 return (new edCompat.Signer(this, hashAlgo));
151 nm = hashAlgo.toUpperCase();
159 nm += hashAlgo.toUpperCase();
172 sig.hashAlgorithm = hashAlgo;
Dsignature.js29 this.hashAlgorithm = opts.hashAlgo;
196 opts.hashAlgo = 'sha1';
200 opts.hashAlgo = 'sha256';
204 opts.hashAlgo = 'sha512';
208 opts.hashAlgo = 'sha512';
265 opts.hashAlgo = 'sha256';
268 opts.hashAlgo = 'sha384';
271 opts.hashAlgo = 'sha512';
Ded-compat.js15 function Verifier(key, hashAlgo) { argument
19 if (hashAlgo.toLowerCase() !== 'sha512')
63 function Signer(key, hashAlgo) { argument
67 if (hashAlgo.toLowerCase() !== 'sha512')
/third_party/node/tools/configure.d/
Dnodedownload.py55 for hashAlgo in availAlgos:
56 if hashAlgo in dict:
57 return (dict[hashAlgo], hashAlgo, availAlgos)
61 def checkHash(targetfile, hashAlgo): argument
63 digest = hashlib.new(hashAlgo)
/third_party/node/deps/npm/node_modules/sshpk/lib/formats/
Ddnssec.js200 if (!opts || !opts.hashAlgo || opts.hashAlgo === 'sha1')
202 else if (opts.hashAlgo === 'sha256')
204 else if (opts.hashAlgo === 'sha512')
208 opts.hashAlgo));
Dopenssh-cert.js184 var hashAlgo = undefined;
186 hashAlgo = 'sha1';
187 var signer = key.createSign(hashAlgo);
/third_party/node/
Dconfigure.py1455 (expectHash, hashAlgo, allAlgos) = nodedownload.findHash(icu)
1469 print('Checking file integrity with %s:\r' % hashAlgo)
1470 gotHash = nodedownload.checkHash(targetfile, hashAlgo)
1471 print('%s: %s %s' % (hashAlgo, gotHash, targetfile))
/third_party/node/deps/npm/node_modules/sshpk/
DREADME.md545 ### `Certificate#fingerprint([hashAlgo])`
554 - `hashAlgo` -- an optional String, any hash function name
/third_party/node/deps/npm/node_modules/cacache/
DCHANGELOG.md612 * **readme:** updated to reflect new default hashAlgo ([c60a2fa](https://github.com/npm/cacache/com…