Lines Matching refs:algorithmName
170 function allAlgorithmSpecifiersFor(algorithmName) { argument
179 if (algorithmName.toUpperCase().substring(0, 3) === "AES") {
182 results.push({name: algorithmName, length: length});
184 } else if (algorithmName.toUpperCase() === "HMAC") {
195 results.push({name: algorithmName, ...hashAlgorithm});
197 } else if (algorithmName.toUpperCase().substring(0, 3) === "RSA") {
199 …results.push({name: algorithmName, hash: hashName, modulusLength: 2048, publicExponent: new Uint8A…
201 } else if (algorithmName.toUpperCase().substring(0, 2) === "EC") {
203 results.push({name: algorithmName, namedCurve: curveName});
205 …} else if (algorithmName.toUpperCase().substring(0, 1) === "X" || algorithmName.toUpperCase().subs…
206 results.push({ name: algorithmName });