Home
last modified time | relevance | path

Searched refs:sectag (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/lib/tls_credentials/
Dtls_credentials_shell.c351 sec_tag_t sectag; in tls_cred_cmd_add() local
366 err = shell_parse_cred_sectag(sh, argv[1], &sectag, false); in tls_cred_cmd_add()
405 if (credential_get(sectag, type)) { in tls_cred_cmd_add()
407 "already exists.\n", sectag, cred_type_name(type)); in tls_cred_cmd_add()
480 err = tls_credential_add(sectag, type, cred_chosen, cred_written); in tls_cred_cmd_add()
483 "type %s. Error: %d\n.", sectag, in tls_cred_cmd_add()
492 "bytes.\n", cred_type_name(type), sectag, cred_written); in tls_cred_cmd_add()
537 sec_tag_t sectag; in tls_cred_cmd_del() local
545 err = shell_parse_cred_sectag(sh, argv[1], &sectag, false); in tls_cred_cmd_del()
556 cred = credential_get(sectag, type); in tls_cred_cmd_del()
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dtls_credentials_shell.rst78 "``<SECTAG>``", "The sectag to use for the new credential. Can be any non-negative integer."
94 To delete a credential matching a specified sectag and credential type (if it exists), use:
107 "``<SECTAG>``", "The sectag of the credential to delete. Can be any non-negative integer."
120 To retrieve and print a credential matching a specified sectag and credential type (if it exists), …
133 "``<SECTAG>``", "The sectag of the credential to get. Can be any non-negative integer."
153 To list all credentials with a specified sectag, use:
165 To list all credentials with a specified credential type and sectag, use:
179 …ional. If provided, only list credentials with this sectag. Pass ``any`` or omit to allow any sect…
198 "``<SECTAG>``", "The sectag of the listed credential. A non-negative integer."