Lines Matching full:tls

8  * @brief TLS credentials management
10 * An API for applications to configure TLS credentials.
17 * @brief TLS credentials management
18 * @defgroup tls_credentials TLS credentials management
29 /** TLS credential types */
61 /** Secure tag, a reference to TLS credential
66 * @note Some TLS credentials come in pairs:
77 * @brief Add a TLS credential.
79 * @details This function adds a TLS credential, that can be used
80 * by TLS/DTLS for authentication.
83 * @param type A TLS/DTLS credential type.
84 * @param cred A TLS/DTLS credential.
85 * @param credlen A TLS/DTLS credential length.
87 * @retval 0 TLS credential successfully added.
88 * @retval -EACCES Access to the TLS credential subsystem was denied.
89 * @retval -ENOMEM Not enough memory to add new TLS credential.
90 * @retval -EEXIST TLS credential of specific tag and type already exists.
96 * @brief Get a TLS credential.
98 * @details This function gets an already registered TLS credential,
102 * @param type A TLS/DTLS credential type of requested credential.
103 * @param cred A buffer for TLS/DTLS credential.
104 * @param credlen A buffer size on input. TLS/DTLS credential length on output.
106 * @retval 0 TLS credential successfully obtained.
107 * @retval -EACCES Access to the TLS credential subsystem was denied.
108 * @retval -ENOENT Requested TLS credential was not found.
109 * @retval -EFBIG Requested TLS credential does not fit in the buffer provided.
116 * @brief Delete a TLS credential.
118 * @details This function removes a TLS credential, referenced by @p tag
122 * @param type A TLS/DTLS credential type of removed credential.
124 * @retval 0 TLS credential successfully deleted.
125 * @retval -EACCES Access to the TLS credential subsystem was denied.
126 * @retval -ENOENT Requested TLS credential was not found.