summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_update_key.2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:06:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:06:51 +0000
commit86fcc93b6dde545a549437629292af70f0af0e9d (patch)
tree10be690f14e138dd6a5e07326e354ced15f52835 /doc/man/nvme_update_key.2
parentReleasing progress-linux version 1.8-3~progress7.99u1. (diff)
downloadlibnvme-86fcc93b6dde545a549437629292af70f0af0e9d.tar.xz
libnvme-86fcc93b6dde545a549437629292af70f0af0e9d.zip
Merging upstream version 1.9.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/man/nvme_update_key.2')
-rw-r--r--doc/man/nvme_update_key.228
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/man/nvme_update_key.2 b/doc/man/nvme_update_key.2
new file mode 100644
index 0000000..96ff15c
--- /dev/null
+++ b/doc/man/nvme_update_key.2
@@ -0,0 +1,28 @@
+.TH "nvme_update_key" 9 "nvme_update_key" "May 2024" "libnvme API manual" LINUX
+.SH NAME
+nvme_update_key \- Update key raw data
+.SH SYNOPSIS
+.B "long" nvme_update_key
+.BI "(long keyring_id " ","
+.BI "const char *key_type " ","
+.BI "const char *identity " ","
+.BI "unsigned char *key_data " ","
+.BI "int key_len " ");"
+.SH ARGUMENTS
+.IP "keyring_id" 12
+Id of the keyring holding key_id
+.IP "key_type" 12
+Type of the key to insert
+.IP "identity" 12
+Key identity string
+.IP "key_data" 12
+Raw data of the key
+.IP "key_len" 12
+Length of \fIkey_data\fP
+.SH "DESCRIPTION"
+Links the keyring specified by \fIkeyring_id\fP into the session
+keyring and updates the key reference by \fIidentity\fP with \fIkey_data\fP.
+The old key with identity \fIidentity\fP will be revoked to make it
+inaccessible.
+.SH "RETURN"
+Key id of the new key or 0 with errno set otherwise.