libnvmf_lookup_key-libnvme32
Lookup key serial number
Usage
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 |
Overview
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.