summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_export_tls_key.2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:05:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:05:25 +0000
commitd3b6c0269abf2332f6f4b43760524b040ca58ff8 (patch)
tree6a0ebdb4cb3c7b76c824f021d9f3624d16037457 /doc/man/nvme_export_tls_key.2
parentAdding upstream version 1.8. (diff)
downloadlibnvme-d3b6c0269abf2332f6f4b43760524b040ca58ff8.tar.xz
libnvme-d3b6c0269abf2332f6f4b43760524b040ca58ff8.zip
Adding upstream version 1.9.upstream/1.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/man/nvme_export_tls_key.2')
-rw-r--r--doc/man/nvme_export_tls_key.219
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/man/nvme_export_tls_key.2 b/doc/man/nvme_export_tls_key.2
new file mode 100644
index 0000000..1cc5961
--- /dev/null
+++ b/doc/man/nvme_export_tls_key.2
@@ -0,0 +1,19 @@
+.TH "nvme_export_tls_key" 9 "nvme_export_tls_key" "May 2024" "libnvme API manual" LINUX
+.SH NAME
+nvme_export_tls_key \- Export a TLS key
+.SH SYNOPSIS
+.B "char *" nvme_export_tls_key
+.BI "(const unsigned char *key_data " ","
+.BI "int key_len " ");"
+.SH ARGUMENTS
+.IP "key_data" 12
+Raw data of the key
+.IP "key_len" 12
+Length of \fIkey_data\fP
+.SH "DESCRIPTION"
+Returns \fIkey_data\fP in the PSK Interchange format as defined in section
+3.6.1.5 of the NVMe TCP Transport specification.
+.SH "RETURN"
+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.