|
myMPD
Internal API documentation
|
Certificate handling. More...
#include "dist/sds/sds.h"#include <stdbool.h>

Go to the source code of this file.
Functions | |
| bool | certificates_check (sds workdir, sds ssl_san) |
| sds | certificate_get_detail (sds cert_content) |
Certificate handling.
| sds certificate_get_detail | ( | sds | cert_content | ) |
Returns the certificate details
| cert_content | the certificate as pem encoded sds |
| bool certificates_check | ( | sds | workdir, |
| sds | ssl_san | ||
| ) |
Public functions Creates the ssl directory, ca and cert and renews before expired
| workdir | myMPD working directory |
| ssl_san | Additional subject alternative names |