Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
626 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | // Copyright 2015 Joyent, Inc.
|
---|
| 2 |
|
---|
| 3 | var parser = require('./parser');
|
---|
| 4 | var signer = require('./signer');
|
---|
| 5 | var verify = require('./verify');
|
---|
| 6 | var utils = require('./utils');
|
---|
| 7 |
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | ///--- API
|
---|
| 11 |
|
---|
| 12 | module.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.