21 #include <sol-common-buildopts.h>
82 #ifdef SOL_FEATURE_FILESYSTEM
91 const char *sol_cert_get_file_name(
const struct sol_cert *
cert);
void sol_cert_unref(struct sol_cert *cert)
Free the resources a sol_cert object and the object itself.
These routines are used for Soletta types' manipulation.
struct sol_cert sol_cert
Certificate handler.
Definition: sol-certificate.h:48
static struct sol_cert * cert
Definition: server-https.c:51
struct sol_cert * sol_cert_load_from_id(const char *id)
Load a certificate from an id.
String slice type.
Definition: sol-str-slice.h:84
struct sol_cert * sol_cert_ref(struct sol_cert *cert)
Increments the reference counter of the given sol_cert.
Data type describing the default blob implementation.
Definition: sol-types.h:468
ssize_t sol_cert_write_contents(const char *file_name, struct sol_str_slice contents)
Write contents to cert.
These are routines that Soletta provides for its string slice implementation.
struct sol_blob * sol_cert_get_contents(const struct sol_cert *cert)
Get the certificate contents.