update comments

这个提交包含在:
AJ ONeal 2016-08-01 21:47:48 -04:00
父节点 761202ae8e
当前提交 b5b516a131
共有 2 个文件被更改,包括 2 次插入1 次删除

查看文件

@ -84,7 +84,7 @@ LeCore.registerNewAccount(options, cb) // returns "regr" registration dat
} }
// Registration // Registration
LeCore.getCertificate(options, cb) // returns (err, pems={ key, cert, ca }) LeCore.getCertificate(options, cb) // returns (err, pems={ privkey (key), cert, chain (ca) })
{ newAuthzUrl: '<url>' // specify acmeUrls.newAuthz { newAuthzUrl: '<url>' // specify acmeUrls.newAuthz
, newCertUrl: '<url>' // specify acmeUrls.newCert , newCertUrl: '<url>' // specify acmeUrls.newCert

查看文件

@ -22,6 +22,7 @@ module.exports.create = function (deps) {
var Acme = deps.Acme; var Acme = deps.Acme;
var RSA = deps.RSA; var RSA = deps.RSA;
// getCertificate // returns "pems", meaning "certs"
function getCert(options, cb) { function getCert(options, cb) {
function bodyToError(res, body) { function bodyToError(res, body) {