le-acme-core.js/lib/client.js

18 lines
483 B
JavaScript
Raw Normal View History

2015-12-13 16:50:04 +00:00
/*!
* letiny
* Copyright(c) 2015 Anatol Sommer <anatol@anatol.at>
* Some code used from https://github.com/letsencrypt/boulder/tree/master/test/js
* MPL 2.0
*/
'use strict';
2015-12-15 14:48:55 +00:00
exports.Acme = require('./acme-client');
exports.registerNewAccount = require('./register-new-account');
exports.getCertificate = require('./get-certificate');
2015-12-15 14:35:58 +00:00
exports.getCert=function (options, cb) {
exports.registerNewAccount(options, function () {
exports.getCertificate(options, cb);
});
2015-12-13 16:50:04 +00:00
};