(options, secretOrPrivateKey)
| 12 | var cert_secp521r1_priv = fs.readFileSync(__dirname + '/secp521r1-private.pem'); |
| 13 | |
| 14 | function sign(options, secretOrPrivateKey) { |
| 15 | jwt.sign({foo: 123}, secretOrPrivateKey, options); |
| 16 | } |
| 17 | |
| 18 | it('should validate algorithm', function () { |
| 19 | expect(function () { |