table of contents
nvme_scan_tls_keys(2) | libnvme API manual | nvme_scan_tls_keys(2) |
NAME¶
nvme_scan_tls_keys - Iterate over TLS keys in a keyring
SYNOPSIS¶
int nvme_scan_tls_keys (const char *keyring , nvme_scan_tls_keys_cb_t cb , void *data );
ARGUMENTS¶
DESCRIPTION¶
Iterates keyring and call cb for each TLS key. When keyring is NULL the default '.nvme' keyring is used. A TLS key must be of type 'psk' and the description must be of the form 'NVMe<0|1><R|G>0<1|2> <identity>', otherwise it will be skipped during iteration.
RETURN¶
Number of keys for which cb was called, or -1 with errno set on error.
nvme_scan_tls_keys | August 2024 |