mirror of
https://github.com/actions/setup-python.git
synced 2024-11-22 23:20:58 -05:00
30 lines
626 B
JavaScript
30 lines
626 B
JavaScript
|
// Copyright 2015 Joyent, Inc.
|
||
|
|
||
|
var parser = require('./parser');
|
||
|
var signer = require('./signer');
|
||
|
var verify = require('./verify');
|
||
|
var utils = require('./utils');
|
||
|
|
||
|
|
||
|
|
||
|
///--- API
|
||
|
|
||
|
module.exports = {
|
||
|
|
||
|
parse: parser.parseRequest,
|
||
|
parseRequest: parser.parseRequest,
|
||
|
|
||
|
sign: signer.signRequest,
|
||
|
signRequest: signer.signRequest,
|
||
|
createSigner: signer.createSigner,
|
||
|
isSigner: signer.isSigner,
|
||
|
|
||
|
sshKeyToPEM: utils.sshKeyToPEM,
|
||
|
sshKeyFingerprint: utils.fingerprint,
|
||
|
pemToRsaSSHKey: utils.pemToRsaSSHKey,
|
||
|
|
||
|
verify: verify.verifySignature,
|
||
|
verifySignature: verify.verifySignature,
|
||
|
verifyHMAC: verify.verifyHMAC
|
||
|
};
|