NAME
libnvmf_lookup_key - Lookup key serial number
SYNOPSIS
int libnvmf_lookup_key (struct libnvme_global_ctx *ctx , const char *type , const char *identity , long *key );
ARGUMENTS
- ctx
-
struct libnvme_global_ctx object
- type
-
Key type
- identity
-
Key description
- key
-
Key serial number to return
DESCRIPTION
Looks up the serial number of the key identity with type type in the current session keyring.
RETURN
0 on success, negative error code otherwise.