| 1 |
.TH "nvme_export_tls_key" 9 "nvme_export_tls_key" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_export_tls_key \- Export a TLS key |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "char *" nvme_export_tls_key |
| 6 |
.BI "(const unsigned char *key_data " "," |
| 7 |
.BI "int key_len " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "key_data" 12 |
| 10 |
Raw data of the key |
| 11 |
.IP "key_len" 12 |
| 12 |
Length of \fIkey_data\fP |
| 13 |
.SH "DESCRIPTION" |
| 14 |
Returns \fIkey_data\fP in the PSK Interchange format as defined in section |
| 15 |
3.6.1.5 of the NVMe TCP Transport specification. |
| 16 |
.SH "RETURN" |
| 17 |
The string containing the TLS identity or NULL with errno set |
| 18 |
on error. It is the responsibility of the caller to free the returned |
| 19 |
string. |