update comments

This commit is contained in:
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
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
, newCertUrl: '<url>' // specify acmeUrls.newCert

파일 보기

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