Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
TLS credentials management. More...
Go to the source code of this file.
Typedefs | |
typedef int | sec_tag_t |
Secure tag, a reference to TLS credential. | |
Enumerations | |
enum | tls_credential_type { TLS_CREDENTIAL_NONE , TLS_CREDENTIAL_CA_CERTIFICATE , TLS_CREDENTIAL_SERVER_CERTIFICATE , TLS_CREDENTIAL_PRIVATE_KEY , TLS_CREDENTIAL_PSK , TLS_CREDENTIAL_PSK_ID } |
TLS credential types. More... | |
Functions | |
int | tls_credential_add (sec_tag_t tag, enum tls_credential_type type, const void *cred, size_t credlen) |
Add a TLS credential. | |
int | tls_credential_get (sec_tag_t tag, enum tls_credential_type type, void *cred, size_t *credlen) |
Get a TLS credential. | |
int | tls_credential_delete (sec_tag_t tag, enum tls_credential_type type) |
Delete a TLS credential. | |
TLS credentials management.
An API for applications to configure TLS credentials.