nvme_export_tls_key(2) libnvme API manual nvme_export_tls_key(2)

nvme_export_tls_key - Export a TLS key

char * nvme_export_tls_key (const unsigned char *key_data , int key_len );

Raw data of the key
Length of key_data

Returns key_data in the PSK Interchange format as defined in section 3.6.1.5 of the NVMe TCP Transport specification.

The string containing the TLS identity or NULL with errno set on error. It is the responsibility of the caller to free the returned string.

nvme_export_tls_key January 2025