| libnvmf_scan_tls_keys(9) | libnvme API manual | libnvmf_scan_tls_keys(9) |
NAME
libnvmf_scan_tls_keys - Iterate over TLS PSKs in a keyring
SYNOPSIS
int libnvmf_scan_tls_keys (struct libnvme_global_ctx *ctx , const char *keyring , libnvmf_scan_tls_keys_cb_t cb , void *data );
ARGUMENTS
DESCRIPTION
Iterates keyring and call cb for each TLS PSK. When keyring is NULL the default '.nvme' keyring is used. A key holding a TLS PSK must be of type 'psk' and its description must be of the form 'NVMe<0|1><R|G><01|02> <identity>', otherwise it will be skipped during iteration.
RETURN
Number of keys for which cb was called, or negative error code
| libnvmf_scan_tls_keys | October 2026 |