mirror of
https://github.com/therootcompany/greenlock.js.git
synced 2025-04-20 13:50:39 +00:00
update docs
This commit is contained in:
parent
4a94dbdf0b
commit
232f97cf05
@ -174,7 +174,6 @@ Here's what `results` looks like:
|
|||||||
{ privkey: '' // PEM encoded private key
|
{ privkey: '' // PEM encoded private key
|
||||||
, cert: '' // PEM encoded cert
|
, cert: '' // PEM encoded cert
|
||||||
, chain: '' // PEM encoded intermediate cert
|
, chain: '' // PEM encoded intermediate cert
|
||||||
, fullchain: '' // cert + chain
|
|
||||||
, issuedAt: 0 // notBefore date (in ms) parsed from cert
|
, issuedAt: 0 // notBefore date (in ms) parsed from cert
|
||||||
, expiresAt: 0 // notAfter date (in ms) parsed from cert
|
, expiresAt: 0 // notAfter date (in ms) parsed from cert
|
||||||
}
|
}
|
||||||
@ -186,8 +185,8 @@ API
|
|||||||
The full end-user API is exposed in the example above and includes all relevant options.
|
The full end-user API is exposed in the example above and includes all relevant options.
|
||||||
|
|
||||||
```
|
```
|
||||||
le.register
|
le.register(opts)
|
||||||
le.check
|
le.check(opts)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Helper Functions
|
### Helper Functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user