xref: /freebsd/secure/usr.bin/openssl/man/openssl-skeyutl.1 (revision b5daf675efc746611c7cfcd1fa474b8905064c4b)
-*- mode: troff; coding: utf-8 -*-
Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)

Standard preamble:
========================================================================
..
..
.. \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
. ds C` "" . ds C' "" 'br\} . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.

Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF ========================================================================

Title "OPENSSL-SKEYUTL 1ossl"
OPENSSL-SKEYUTL 1ossl 2025-07-24 3.5.1 OpenSSL
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
NAME
openssl-skeyutl - opaque symmetric keys routines
SYNOPSIS
Header "SYNOPSIS" \fBopenssl skeyutl [-help] [-cipher cipher] [-skeymgmt skeymgmt] [-skeyopt opt:value] [-genkey] [-provider name] [-provider-path path] [-provparam [name:]key=value] [-propquery propq]
DESCRIPTION
Header "DESCRIPTION" Not all cipher implementations support keys as raw bytes. E.g. PKCS#11 tokens can store them internally without any option to get the raw byte representation.

This tool is designed for managing opaque symmetric keys.

OPTIONS
Header "OPTIONS"
-help 4
Item "-help" Print out a usage message.
"-cipher cipher" 4
Item "-cipher cipher" The cipher to generate the key for.
"-skeymgmt skeymgmt" 4
Item "-skeymgmt skeymgmt" Some providers may support opaque symmetric keys objects. To use them, we need to know the skeymgmt. If not specified, the name of the cipher will be used. .Sp To find out the name of the suitable symmetric key management, please refer to the output of the \*(C`openssl list -skey-managers\*(C' command.
"-skeyopt opt:value" 4
Item "-skeyopt opt:value" To obtain an existing opaque symmetric key or to generate a new one, key options are specified as opt:value. These options can't be used together with any options implying raw key either directly or indirectly.
-genkey 4
Item "-genkey" Generate a new opaque key object.
"-provider name" 4
Item "-provider name"

0

"-provider-path path" 4
Item "-provider-path path"
"-provparam [name:]key=value" 4
Item "-provparam [name:]key=value"
"-propquery propq" 4
Item "-propquery propq"

See "Provider Options" in openssl\|(1), provider\|(7), and property\|(7).

"SEE ALSO"
Header "SEE ALSO" \fBopenssl-enc\|(1), EVP_SKEY\|(3)
HISTORY
Header "HISTORY" The skeyutl command was added in OpenSSL 3.5.
COPYRIGHT
Header "COPYRIGHT" Copyright 2025 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.