From e120d2dcc23459b449fb110760e967a1f09f76f8 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 12 Aug 2016 15:21:35 -0600 Subject: [PATCH] add API brief --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index a865b60..fb42c3f 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,20 @@ The reference implementation, specification, template, and tests for creating an The reference implementation is completely in-memory. See [Help Wanted: Database Plugins (for saving certs)](https://github.com/Daplie/node-letsencrypt/issues/39) + +API +=== + +``` +* getOptions() +* accounts. + * checkKeypair(opts, cb) + * setKeypair(opts, keypair, cb) + * check(opts, cb) + * set(opts, reg, cb) +* certificates. + * checkKeypair(opts, cb) + * setKeypair(opts, keypair, cb) + * check(opts, cb) + * set(opts, reg, cb) +```