[BACK]Return to openssl.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/openssl.1 between version 1.42 and 1.43

version 1.42, 2016/07/28 16:22:06 version 1.43, 2016/08/01 07:23:29
Line 1060 
Line 1060 
 .It Fl outform Cm der | pem  .It Fl outform Cm der | pem
 Specify the PKCS#7 structure output format.  Specify the PKCS#7 structure output format.
 .El  .El
 .\"  
 .\" DGST  
 .\"  
 .Sh DGST  .Sh DGST
 .nr nS 1  .nr nS 1
 .Nm "openssl dgst"  .Nm "openssl dgst"
 .Bk -words  
 .Oo  
 .Fl gost-mac | streebog256 | streebog512 | md_gost94 |  
 .Fl md4 | md5 | ripemd160 | sha1 |  
 .Fl sha224 | sha256 | sha384 | sha512 | whirlpool  
 .Oc  
 .Op Fl binary  
 .Op Fl cd  .Op Fl cd
   .Op Fl binary
   .Op Fl Ar digest
 .Op Fl hex  .Op Fl hex
 .Op Fl hmac Ar key  .Op Fl hmac Ar key
 .Op Fl keyform Ar PEM  .Op Fl keyform Cm pem
 .Op Fl mac Ar algorithm  .Op Fl mac Ar algorithm
 .Op Fl macopt Ar nm : Ns Ar v  .Op Fl macopt Ar nm : Ns Ar v
 .Op Fl out Ar file  .Op Fl out Ar file
Line 1087 
Line 1079 
 .Op Fl sigopt Ar nm : Ns Ar v  .Op Fl sigopt Ar nm : Ns Ar v
 .Op Fl verify Ar file  .Op Fl verify Ar file
 .Op Ar  .Op Ar
 .Ek  
 .nr nS 0  .nr nS 0
 .Pp  .Pp
 .Nm openssl  
 .Cm gost-mac | streebog256 | streebog512 | md_gost94 |  
 .Cm md4 | md5 | ripemd160 | sha1 |  
 .Cm sha224 | sha256 | sha384 | sha512 | whirlpool  
 .Op Fl c  
 .Op Fl d  
 .Op Ar  
 .Pp  
 The digest functions output the message digest of a supplied  The digest functions output the message digest of a supplied
 .Ar file  .Ar file
 or  or
Line 1110 
Line 1093 
 .It Fl binary  .It Fl binary
 Output the digest or signature in binary form.  Output the digest or signature in binary form.
 .It Fl c  .It Fl c
 Print out the digest in two-digit groups separated by colons; only relevant if  Print out the digest in two-digit groups separated by colons.
 .Em hex  
 format output is used.  
 .It Fl d  .It Fl d
 Print out BIO debugging information.  Print out BIO debugging information.
   .It Fl Ar digest
   Use the specified message
   .Ar digest .
   The default is MD5.
   The available digests can be displayed using
   .Nm openssl
   .Cm list-message-digest-commands .
   The following are equivalent:
   .Nm openssl dgst
   .Fl md5
   and
   .Nm openssl
   .Cm md5 .
 .It Fl hex  .It Fl hex
 Digest is to be output as a hex dump.  Digest is to be output as a hex dump.
 This is the default case for a  This is the default case for a
Line 1123 
Line 1117 
 .It Fl hmac Ar key  .It Fl hmac Ar key
 Create a hashed MAC using  Create a hashed MAC using
 .Ar key .  .Ar key .
 .It Fl keyform Ar PEM  .It Fl keyform Cm pem
 Specifies the key format to sign the digest with.  Specifies the key format to sign the digest with.
 .It Fl mac Ar algorithm  .It Fl mac Ar algorithm
 Create a keyed Message Authentication Code (MAC).  Create a keyed Message Authentication Code (MAC).
Line 1137 
Line 1131 
 .Fl mac .  .Fl mac .
 The following options are supported by HMAC:  The following options are supported by HMAC:
 .Bl -tag -width Ds  .Bl -tag -width Ds
 .It Ar key : Ns Ar string  .It Cm key : Ns Ar string
 Specifies the MAC key as an alphanumeric string  Specifies the MAC key as an alphanumeric string
 (use if the key contain printable characters only).  (use if the key contain printable characters only).
 String length must conform to any restrictions of the MAC algorithm.  String length must conform to any restrictions of the MAC algorithm.
 .It Ar hexkey : Ns Ar string  .It Cm hexkey : Ns Ar string
 Specifies the MAC key in hexadecimal form (two hex digits per byte).  Specifies the MAC key in hexadecimal form (two hex digits per byte).
 Key length must conform to any restrictions of the MAC algorithm.  Key length must conform to any restrictions of the MAC algorithm.
 .El  .El
 .It Fl out Ar file  .It Fl out Ar file
 The file to output to, or standard output by default.  The output file to write to,
   or standard output if not specified.
 .It Fl passin Ar arg  .It Fl passin Ar arg
 The key password source.  The key password source.
 .It Fl prverify Ar file  .It Fl prverify Ar file
Line 1175 
Line 1170 
 File or files to digest.  File or files to digest.
 If no files are specified then standard input is used.  If no files are specified then standard input is used.
 .El  .El
 .Sh DGST NOTES  
 The digest of choice for all new applications is SHA1.  
 Other digests are, however, still widely used.  
 .Pp  
 If you wish to sign or verify data using the DSA algorithm, the dss1  
 digest must be used.  
 .Pp  
 A source of random numbers is required for certain signing algorithms, in  
 particular DSA.  
 .Pp  
 The signing and verify options should only be used if a single file is  
 being signed or verified.  
 .\"  
 .\" DH  
 .\"  
 .Sh DH  
 Diffie-Hellman Parameter Management.  
 The  
 .Nm dh  
 command has been replaced by  
 .Nm dhparam .  
 See  
 .Sx DHPARAM  
 below.  
 .\"  .\"
 .\" DHPARAM  .\" DHPARAM
 .\"  .\"

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43