source: trip-planner-front/node_modules/sshpk/lib/index.js

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

initial commit

  • Property mode set to 100644
File size: 1.2 KB
Line 
1// Copyright 2015 Joyent, Inc.
2
3var Key = require('./key');
4var Fingerprint = require('./fingerprint');
5var Signature = require('./signature');
6var PrivateKey = require('./private-key');
7var Certificate = require('./certificate');
8var Identity = require('./identity');
9var errs = require('./errors');
10
11module.exports = {
12 /* top-level classes */
13 Key: Key,
14 parseKey: Key.parse,
15 Fingerprint: Fingerprint,
16 parseFingerprint: Fingerprint.parse,
17 Signature: Signature,
18 parseSignature: Signature.parse,
19 PrivateKey: PrivateKey,
20 parsePrivateKey: PrivateKey.parse,
21 generatePrivateKey: PrivateKey.generate,
22 Certificate: Certificate,
23 parseCertificate: Certificate.parse,
24 createSelfSignedCertificate: Certificate.createSelfSigned,
25 createCertificate: Certificate.create,
26 Identity: Identity,
27 identityFromDN: Identity.parseDN,
28 identityForHost: Identity.forHost,
29 identityForUser: Identity.forUser,
30 identityForEmail: Identity.forEmail,
31 identityFromArray: Identity.fromArray,
32
33 /* errors */
34 FingerprintFormatError: errs.FingerprintFormatError,
35 InvalidAlgorithmError: errs.InvalidAlgorithmError,
36 KeyParseError: errs.KeyParseError,
37 SignatureParseError: errs.SignatureParseError,
38 KeyEncryptedError: errs.KeyEncryptedError,
39 CertificateParseError: errs.CertificateParseError
40};
Note: See TracBrowser for help on using the repository browser.