Skip to content

Commit

Permalink
Encap/decap in pkeyutl - documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
beldmit committed Aug 8, 2024
1 parent 382233b commit 60e9390
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions doc/man1/openssl-pkeyutl.pod.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ B<openssl> B<pkeyutl>
[B<-rawin>]
[B<-digest> I<algorithm>]
[B<-out> I<file>]
[B<-secret> I<file>]
[B<-sigfile> I<file>]
[B<-inkey> I<filename>|I<uri>]
[B<-keyform> B<DER>|B<PEM>|B<P12>|B<ENGINE>]
Expand All @@ -28,8 +29,11 @@ B<openssl> B<pkeyutl>
[B<-encrypt>]
[B<-decrypt>]
[B<-derive>]
[B<-encap>]
[B<-decap>]
[B<-kdf> I<algorithm>]
[B<-kdflen> I<length>]
[B<-kemop> I<operation>]
[B<-pkeyopt> I<opt>:I<value>]
[B<-pkeyopt_passin> I<opt>[:I<passarg>]]
[B<-hexdump>]
Expand Down Expand Up @@ -79,6 +83,10 @@ then the B<-rawin> option must be also specified.
Specifies the output filename to write to or standard output by
default.

=item B<-secret> I<filename>

Specifies the output filename to write the secret to on I<-encap>.

=item B<-sigfile> I<file>

Signature file, required for B<-verify> operations only
Expand Down Expand Up @@ -147,6 +155,19 @@ Decrypt the input data using a private key.

Derive a shared secret using the peer key.

=item B<-encap>

Encapsulate the secret using a public key. I<-secret> is required.

=item B<-decap>

Decapsulate the secret using a private key.

=item B<-kemop> I<operation>

KEM operation, specific for the key algorithm. See L<EVP_PKEY_CTX_set_kem_op(3)>
and algorithm-specific KEM documentation.

=item B<-kdf> I<algorithm>

Use key derivation function I<algorithm>. The supported algorithms are
Expand Down

0 comments on commit 60e9390

Please sign in to comment.