command\-line uses the S/MIME Toolkit to perform basic operations, such as encryption and decryption, on Cryptographic Message Syntax (CMS) messages\&.
.PP
To run cmsutil, type the command cmsutil option [arguments] where option and arguments are combinations of the options and arguments listed in the following section\&. Each command takes one option\&. Each option may take zero or more arguments\&. To see a usage string, issue the command without options\&.
.SH"OPTIONS AND ARGUMENTS"
.PP
.PP
\fBOptions\fR
.PP
Options specify an action\&. Option arguments modify an action\&. The options and arguments for the cmsutil command are defined as follows:
Specify the key/certificate database directory (default is "\&.")
.RE
.PP
\-e envfile
.RS4
Specify a file containing an enveloped message for a set of recipients to which you would like to send an encrypted message\&. If this is the first encrypted message for that set of recipients, a new enveloped message will be created that you can then use for future messages (encrypt only)\&.
.RE
.PP
\-f pwfile
.RS4
Use password file to set password on all PKCS#11 tokens\&.
.RE
.PP
\-G
.RS4
Include a signing time attribute (sign only)\&.
.RE
.PP
\-H hash
.RS4
Use specified hash algorithm (default:SHA1)\&.
.RE
.PP
\-h num
.RS4
Generate email headers with info about CMS message (decode only)\&.
.RE
.PP
\-i infile
.RS4
Use infile as a source of data (default is stdin)\&.
.RE
.PP
\-k
.RS4
Keep decoded encryption certs in permanent cert db\&.
.RE
.PP
\-N nickname
.RS4
Specify nickname of certificate to sign with (sign only)\&.
.RE
.PP
\-n
.RS4
Suppress output of contents (decode only)\&.
.RE
.PP
\-o outfile
.RS4
Use outfile as a destination of data (default is stdout)\&.
.RE
.PP
\-P
.RS4
Include an S/MIME capabilities attribute\&.
.RE
.PP
\-p password
.RS4
Use password as key database password\&.
.RE
.PP
\-r recipient1,recipient2, \&.\&.\&.
.RS4
Specify list of recipients (email addresses) for an encrypted or enveloped message\&. For certificates\-only message, list of certificates to send\&.
.RE
.PP
\-T
.RS4
Suppress content in CMS message (sign only)\&.
.RE
.PP
\-u certusage
.RS4
Set type of cert usage (default is certUsageEmailSigner)\&.
.RE
.PP
\-v
.RS4
Print debugging information\&.
.RE
.PP
\-Y ekprefnick
.RS4
Specify an encryption key preference by nickname\&.
Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&.