Searched refs:sigObj (Results 1 – 2 of 2) sorted by relevance
206 var sigObj = this.rs_signer.sign();211 alg = (this.rs_alg[0] || this.rs_key.type) + '-' + sigObj.hashAlgorithm;212 var signature = sigObj.toString();380 var sigObj = signer.sign(); variable381 if (!HASH_ALGOS[sigObj.hashAlgorithm]) {382 throw (new InvalidAlgorithmError(sigObj.hashAlgorithm.toUpperCase() +385 options.algorithm = key.type + '-' + sigObj.hashAlgorithm;386 signature = sigObj.toString();
95 var sigObj = Signature.parse(sigBuf, 'ed25519', 'raw');96 sigObj.hashAlgorithm = 'sha512';97 return (sigObj);