update docs (privateKey -> keypair)

This commit is contained in:
AJ ONeal 2016-08-01 20:31:34 -04:00
parent 8e6d31436c
commit 36acd623ca
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ LeCore.knownEndpoints // new-authz, new-cert, new-reg, revok
// HTTP Client Helpers
LeCore.Acme // Signs requests with JWK
acme = new Acme(lePrivateKey) // privateKey format is abstract
acme = new Acme(keypair) // 'keypair' is an object with `privateKeyPem` and/or `privateKeyJwk`
acme.post(url, body, cb) // POST with signature
acme.parseLinks(link) // (internal) parses 'link' header
acme.getNonce(url, cb) // (internal) HEAD request to get 'replay-nonce' strings