diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2022-07-27 10:18:17 +0200 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-04-27 15:45:38 +0100 |
commit | 2786160731257540a957216aeb6431970bbce95f (patch) | |
tree | cf48fb2d8b77c0c0fb8fed3765895656a44776a9 /doc/man1 | |
parent | 9748e6127634e26483ff796d6572a303b1d514b7 (diff) |
apps/smime: Point out that the six operations are mutually exclusive and add check
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18917)
Diffstat (limited to 'doc/man1')
-rw-r--r-- | doc/man1/openssl-smime.pod.in | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/man1/openssl-smime.pod.in b/doc/man1/openssl-smime.pod.in index e438c866c3..1460221e13 100644 --- a/doc/man1/openssl-smime.pod.in +++ b/doc/man1/openssl-smime.pod.in @@ -59,7 +59,9 @@ and verify S/MIME messages. =head1 OPTIONS -There are six operation options that set the type of operation to be performed. +There are six operation options that set the type of operation to be performed: +B<-encrypt>, B<-decrypt>, B<-sign>, B<-resign>, B<-verify>, and B<-pk7out>. +These are mutually exclusive. The meaning of the other options varies according to the operation type. =over 4 @@ -88,6 +90,10 @@ Sign mail using the supplied certificate and private key. Input file is the message to be signed. The signed message in MIME format is written to the output file. +=item B<-resign> + +Resign a message: take an existing message and one or more new signers. + =item B<-verify> Verify signed mail. Expects a signed mail message on input and outputs @@ -97,10 +103,6 @@ the signed data. Both clear text and opaque signing is supported. Takes an input message and writes out a PEM encoded PKCS#7 structure. -=item B<-resign> - -Resign a message: take an existing message and one or more new signers. - =item B<-in> I<filename> The input message to be encrypted or signed or the MIME message to |