1 1.1 christos =pod 2 1.1 christos {- OpenSSL::safe::output_do_not_edit_headers(); -} 3 1.1 christos 4 1.1 christos =head1 NAME 5 1.1 christos 6 1.1 christos openssl-skeyutl - opaque symmetric keys routines 7 1.1 christos 8 1.1 christos =head1 SYNOPSIS 9 1.1 christos 10 1.1 christos B<openssl> B<skeyutl> 11 1.1 christos [B<-help>] 12 1.1 christos [B<-cipher> I<cipher>] 13 1.1 christos [B<-skeymgmt> I<skeymgmt>] 14 1.1 christos [B<-skeyopt> I<opt>:I<value>] 15 1.1 christos [B<-genkey>] 16 1.1 christos {- $OpenSSL::safe::opt_provider_synopsis -} 17 1.1 christos 18 1.1 christos =head1 DESCRIPTION 19 1.1 christos 20 1.1 christos Not all cipher implementations support keys as raw bytes. E.g. PKCS#11 tokens 21 1.1 christos can store them internally without any option to get the raw byte representation. 22 1.1 christos 23 1.1 christos This tool is designed for managing opaque symmetric keys. 24 1.1 christos 25 1.1 christos =head1 OPTIONS 26 1.1 christos 27 1.1 christos =over 4 28 1.1 christos 29 1.1 christos =item B<-help> 30 1.1 christos 31 1.1 christos Print out a usage message. 32 1.1 christos 33 1.1 christos =item B<-cipher> I<cipher> 34 1.1 christos 35 1.1 christos The cipher to generate the key for. 36 1.1 christos 37 1.1 christos =item B<-skeymgmt> I<skeymgmt> 38 1.1 christos 39 1.1 christos Some providers may support opaque symmetric keys objects. To use them, we need 40 1.1 christos to know the I<skeymgmt>. If not specified, the name of the cipher will be used. 41 1.1 christos 42 1.1 christos To find out the name of the suitable symmetric key management, 43 1.1 christos please refer to the output of the C<openssl list -skey-managers> command. 44 1.1 christos 45 1.1 christos =item B<-skeyopt> I<opt>:I<value> 46 1.1 christos 47 1.1 christos To obtain an existing opaque symmetric key or to generate a new one, key 48 1.1 christos options are specified as opt:value. These options can't be used together with 49 1.1 christos any options implying raw key either directly or indirectly. 50 1.1 christos 51 1.1 christos =item B<-genkey> 52 1.1 christos 53 1.1 christos Generate a new opaque key object. 54 1.1 christos 55 1.1 christos {- $OpenSSL::safe::opt_provider_item -} 56 1.1 christos 57 1.1 christos =back 58 1.1 christos 59 1.1 christos =head1 SEE ALSO 60 1.1 christos 61 1.1 christos L<openssl-enc(1)>, L<EVP_SKEY(3)> 62 1.1 christos 63 1.1 christos =head1 HISTORY 64 1.1 christos 65 1.1 christos The B<skeyutl> command was added in OpenSSL 3.5. 66 1.1 christos 67 1.1 christos =head1 COPYRIGHT 68 1.1 christos 69 1.1 christos Copyright 2025 The OpenSSL Project Authors. All Rights Reserved. 70 1.1 christos 71 1.1 christos Licensed under the Apache License 2.0 (the "License"). You may not use 72 1.1 christos this file except in compliance with the License. You can obtain a copy 73 1.1 christos in the file LICENSE in the source distribution or at 74 1.1 christos L<https://www.openssl.org/source/license.html>. 75 1.1 christos 76 1.1 christos =cut 77