Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions
sol-certificate.h File Reference

These routines are used for Soletta's certificate handling. More...

#include <sol-common-buildopts.h>
#include <sol-types.h>
#include <sol-str-slice.h>

Go to the source code of this file.

Typedefs

typedef struct sol_cert sol_cert
 Certificate handler. More...
 

Functions

struct sol_blobsol_cert_get_contents (const struct sol_cert *cert)
 Get the certificate contents. More...
 
struct sol_certsol_cert_load_from_id (const char *id)
 Load a certificate from an id. More...
 
struct sol_certsol_cert_ref (struct sol_cert *cert)
 Increments the reference counter of the given sol_cert. More...
 
void sol_cert_unref (struct sol_cert *cert)
 Free the resources a sol_cert object and the object itself. More...
 
ssize_t sol_cert_write_contents (const char *file_name, struct sol_str_slice contents)
 Write contents to cert. More...
 

Detailed Description

These routines are used for Soletta's certificate handling.