X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=doc%2Fman1%2Fopenssl-cms.pod;h=d9f5a3bf47e73a2f8da49300f983b07b777e12c7;hb=b1c0cc24564e7c8d3cd8a437585c230259584bb7;hp=54e757ff11c5fdfbcf01ffd3cbaa47fee842ba18;hpb=485d336137f2afa62e378bc39dcfa37dcfb222da;p=openssl.git diff --git a/doc/man1/openssl-cms.pod b/doc/man1/openssl-cms.pod index 54e757ff11..d9f5a3bf47 100644 --- a/doc/man1/openssl-cms.pod +++ b/doc/man1/openssl-cms.pod @@ -23,23 +23,25 @@ B B [B<-uncompress>] [B<-EncryptedData_encrypt>] [B<-sign_receipt>] -[B<-verify_receipt receipt>] -[B<-in filename>] -[B<-inform SMIME|PEM|DER>] -[B<-rctform SMIME|PEM|DER>] -[B<-out filename>] -[B<-outform SMIME|PEM|DER>] -[B<-stream -indef -noindef>] +[B<-verify_receipt> I] +[B<-in> I] +[B<-inform> B|B|B] +[B<-rctform> B|B|B] +[B<-out> I] +[B<-outform> B|B|B] +[B<-stream>] +[B<-indef>] [B<-noindef>] -[B<-content filename>] +[B<-noindef>] +[B<-content> I] [B<-text>] [B<-noout>] [B<-print>] -[B<-CAfile file>] -[B<-CApath dir>] +[B<-CAfile> I] +[B<-CApath> I] [B<-no-CAfile>] [B<-no-CApath>] -[B<-attime timestamp>] +[B<-attime> I] [B<-check_ss_sig>] [B<-crl_check>] [B<-crl_check_all>] @@ -50,24 +52,24 @@ B B [B<-inhibit_map>] [B<-no_check_time>] [B<-partial_chain>] -[B<-policy arg>] +[B<-policy> I] [B<-policy_check>] [B<-policy_print>] -[B<-purpose purpose>] +[B<-purpose> I] [B<-suiteB_128>] [B<-suiteB_128_only>] [B<-suiteB_192>] [B<-trusted_first>] [B<-no_alt_chains>] [B<-use_deltas>] -[B<-auth_level num>] -[B<-verify_depth num>] -[B<-verify_email email>] -[B<-verify_hostname hostname>] -[B<-verify_ip ip>] -[B<-verify_name name>] +[B<-auth_level> I] +[B<-verify_depth> I] +[B<-verify_email> I] +[B<-verify_hostname> I] +[B<-verify_ip> I] +[B<-verify_name> I] [B<-x509_strict>] -[B<-md digest>] +[B<-md> I] [B<-I>] [B<-nointern>] [B<-noverify>] @@ -78,29 +80,30 @@ B B [B<-crlfeol>] [B<-asciicrlf>] [B<-nodetach>] -[B<-certfile file>] -[B<-certsout file>] -[B<-signer file>] -[B<-recip file>] +[B<-certfile> I] +[B<-certsout> I] +[B<-signer> I] +[B<-recip> I] [B<-keyid>] [B<-receipt_request_all>] [B<-receipt_request_first>] -[B<-receipt_request_from emailaddress>] -[B<-receipt_request_to emailaddress>] +[B<-receipt_request_from> I] +[B<-receipt_request_to> I] [B<-receipt_request_print>] -[B<-secretkey key>] -[B<-secretkeyid id>] -[B<-econtent_type type>] -[B<-inkey file>] -[B<-keyopt name:parameter>] -[B<-passin arg>] -[B<-rand file...>] -[B<-writerand file>] -[B] -[B<-to addr>] -[B<-from addr>] -[B<-subject subj>] -[cert.pem]... +[B<-secretkey> I] +[B<-secretkeyid> I] +[B<-econtent_type> I] +[B<-inkey> I] +[B<-keyopt> I:I] +[B<-passin> I] +[B<-rand> I] +[B<-writerand> I] +[B<-to> I] +[B<-from> I] +[B<-subject> I] +[I ...] + +=for comment ifdef des-wrap engine =head1 DESCRIPTION @@ -202,18 +205,18 @@ Generate and output a signed receipt for the supplied message. The input message B contain a signed receipt request. Functionality is otherwise similar to the B<-sign> operation. -=item B<-verify_receipt receipt> +=item B<-verify_receipt> I Verify a signed receipt in filename B. The input message B contain the original receipt request. Functionality is otherwise similar to the B<-verify> operation. -=item B<-in filename> +=item B<-in> I The input message to be encrypted or signed or the message to be decrypted or verified. -=item B<-inform SMIME|PEM|DER> +=item B<-inform> B|B|B This specifies the input format for the CMS structure. The default is B which reads an S/MIME format message. B and B @@ -222,17 +225,17 @@ instead. This currently only affects the input format of the CMS structure, if no CMS structure is being input (for example with B<-encrypt> or B<-sign>) this option has no effect. -=item B<-rctform SMIME|PEM|DER> +=item B<-rctform> B|B|B Specify the format for a signed receipt for use with the B<-receipt_verify> operation. -=item B<-out filename> +=item B<-out> I The message text that has been decrypted or verified or the output MIME format message that has been signed or verified. -=item B<-outform SMIME|PEM|DER> +=item B<-outform> B|B|B This specifies the output format for the CMS structure. The default is B which writes an S/MIME format message. B and B @@ -241,7 +244,7 @@ instead. This currently only affects the output format of the CMS structure, if no CMS structure is being output (for example with B<-verify> or B<-decrypt>) this option has no effect. -=item B<-stream -indef -noindef> +=item B<-stream>, B<-indef>, B<-noindef> The B<-stream> and B<-indef> options are equivalent and enable streaming I/O for encoding operations. This permits single pass processing of data without @@ -256,7 +259,7 @@ Disable streaming I/O where it would produce and indefinite length constructed encoding. This option currently has no effect. In future streaming will be enabled by default on all relevant operations and this option will disable it. -=item B<-content filename> +=item B<-content> I This specifies a file containing the detached content, this is only useful with the B<-verify> command. This is only usable if the CMS @@ -282,15 +285,15 @@ structure is being checked. For the B<-cmsout> operation print out all fields of the CMS structure. This is mainly useful for testing purposes. -=item B<-CAfile file> +=item B<-CAfile> I A file containing trusted CA certificates, only used with B<-verify>. -=item B<-CApath dir> +=item B<-CApath> I A directory containing trusted CA certificates, only used with B<-verify>. This directory must be a standard certificate directory: that -is a hash of each subject name (using B) should be linked +is a hash of each subject name (using C) should be linked to each certificate. =item B<-no-CAfile> @@ -301,7 +304,7 @@ Do not load the trusted CA certificates from the default file location Do not load the trusted CA certificates from the default directory location -=item B<-md digest> +=item B<-md> I Digest algorithm to use when signing or resigning. If not present then the default digest algorithm for the signing key will be used (usually SHA1). @@ -374,24 +377,24 @@ to translation by mail relays but it cannot be read by mail agents that do not support S/MIME. Without this option cleartext signing with the MIME type multipart/signed is used. -=item B<-certfile file> +=item B<-certfile> I Allows additional certificates to be specified. When signing these will be included with the message. When verifying these will be searched for the signers certificates. The certificates should be in PEM format. -=item B<-certsout file> +=item B<-certsout> I Any certificates contained in the message are written to B. -=item B<-signer file> +=item B<-signer> I A signing certificate when signing or resigning a message, this option can be used multiple times if more than one signer is required. If a message is being verified then the signers certificates will be written to this file if the verification was successful. -=item B<-recip file> +=item B<-recip> I When decrypting a message this specifies the recipients certificate. The certificate must match one of the recipients of the message or an error @@ -416,12 +419,12 @@ For B<-sign> option include a signed receipt request. Indicate requests should be provided by all recipient or first tier recipients (those mailed directly and not from a mailing list). Ignored it B<-receipt_request_from> is included. -=item B<-receipt_request_from emailaddress> +=item B<-receipt_request_from> I For B<-sign> option include a signed receipt request. Add an explicit email address where receipts should be supplied. -=item B<-receipt_request_to emailaddress> +=item B<-receipt_request_to> I Add an explicit email address where signed receipts should be sent to. This option B but supplied if a signed receipt it requested. @@ -431,7 +434,7 @@ option B but supplied if a signed receipt it requested. For the B<-verify> operation print out the contents of any signed receipt requests. -=item B<-secretkey key> +=item B<-secretkey> I Specify symmetric key to use. The key must be supplied in hex format and be consistent with the algorithm used. Supported by the B<-EncryptedData_encrypt> @@ -439,7 +442,7 @@ B<-EncryptedData_decrypt>, B<-encrypt> and B<-decrypt> options. When used with B<-encrypt> or B<-decrypt> the supplied key is used to wrap or unwrap the content encryption key using an AES key in the B type. -=item B<-secretkeyid id> +=item B<-secretkeyid> I The key identifier for the supplied symmetric key for B type. This option B be present if the B<-secretkey> option is used with @@ -447,13 +450,13 @@ B<-encrypt>. With B<-decrypt> operations the B is used to locate the relevant key if it is not supplied then an attempt is used to decrypt any B structures. -=item B<-econtent_type type> +=item B<-econtent_type> I Set the encapsulated content type to B if not supplied the B type is used. The B argument can be any valid OID name in either text or numerical format. -=item B<-inkey file> +=item B<-inkey> I The private key to use when signing or decrypting. This must match the corresponding certificate. If this option is not specified then the @@ -461,19 +464,19 @@ private key must be included in the certificate file specified with the B<-recip> or B<-signer> file. When signing this option can be used multiple times to specify successive keys. -=item B<-keyopt name:opt> +=item B<-keyopt> I:I For signing and encryption this option can be used multiple times to set customised parameters for the preceding key or certificate. It can currently be used to set RSA-PSS for signing, RSA-OAEP for encryption or to modify default parameters for ECDH. -=item B<-passin arg> +=item B<-passin> I The private key password source. For more information about the format of B -see the B section in L. +see L. -=item B<-rand file...> +=item B<-rand> I A file or files containing random data used to seed the random number generator. @@ -481,17 +484,17 @@ Multiple files can be specified separated by an OS-dependent character. The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for all others. -=item [B<-writerand file>] +=item B<-writerand> I Writes random data to the specified I upon exit. This can be used with a subsequent B<-rand> flag. -=item B +=item I ... One or more certificates of message recipients: used when encrypting a message. -=item B<-to, -from, -subject> +=item B<-to>, B<-from>, B<-subject> The relevant mail headers. These are included outside the signed portion of a message so they may be included manually. If signing @@ -634,7 +637,7 @@ support the older format. These are detailed below. The use of the B<-keyid> option with B<-sign> or B<-encrypt>. -The B<-outform PEM> option uses different headers. +The B<-outform> I option uses different headers. The B<-compress> option.