source: trip-planner-front/node_modules/http-signature/lib/index.js@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 626 bytes
Line 
1// Copyright 2015 Joyent, Inc.
2
3var parser = require('./parser');
4var signer = require('./signer');
5var verify = require('./verify');
6var utils = require('./utils');
7
8
9
10///--- API
11
12module.exports = {
13
14 parse: parser.parseRequest,
15 parseRequest: parser.parseRequest,
16
17 sign: signer.signRequest,
18 signRequest: signer.signRequest,
19 createSigner: signer.createSigner,
20 isSigner: signer.isSigner,
21
22 sshKeyToPEM: utils.sshKeyToPEM,
23 sshKeyFingerprint: utils.fingerprint,
24 pemToRsaSSHKey: utils.pemToRsaSSHKey,
25
26 verify: verify.verifySignature,
27 verifySignature: verify.verifySignature,
28 verifyHMAC: verify.verifyHMAC
29};
Note: See TracBrowser for help on using the repository browser.