summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2003-10-30 13:11:40 +0000
committerjmc <>2003-10-30 13:11:40 +0000
commit0a969630511cf30b5e6fc11d419e25352e29b20a (patch)
tree624338ba0149440217c9295e46e2ce8b8d019c21 /src
parent772a69078b41d69500b8d4a738658ba3c2a5f9be (diff)
downloadopenbsd-0a969630511cf30b5e6fc11d419e25352e29b20a.tar.gz
openbsd-0a969630511cf30b5e6fc11d419e25352e29b20a.tar.bz2
openbsd-0a969630511cf30b5e6fc11d419e25352e29b20a.zip
small update for DGST;
Diffstat (limited to 'src')
-rw-r--r--src/usr.sbin/openssl/openssl.175
1 files changed, 40 insertions, 35 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1
index 76ea6f9661..9e381134ef 100644
--- a/src/usr.sbin/openssl/openssl.1
+++ b/src/usr.sbin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.20 2003/10/26 15:16:13 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.21 2003/10/30 13:11:40 jmc Exp $
2.\" ==================================================================== 2.\" ====================================================================
3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. 3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
4.\" 4.\"
@@ -329,8 +329,8 @@ MD2 Digest.
329MD4 Digest. 329MD4 Digest.
330.It Cm md5 330.It Cm md5
331MD5 Digest. 331MD5 Digest.
332.It Cm rmd160 332.It Cm ripemd160
333RMD-160 Digest. 333RIPEMD-160 Digest.
334.It Cm sha 334.It Cm sha
335SHA Digest. 335SHA Digest.
336.It Cm sha1 336.It Cm sha1
@@ -437,8 +437,8 @@ Read the password from standard input.
437.Sh ASN1PARSE 437.Sh ASN1PARSE
438.Nm openssl asn1parse 438.Nm openssl asn1parse
439.Bk -words 439.Bk -words
440.Op Fl i
441.Op Fl dump 440.Op Fl dump
441.Op Fl i
442.Op Fl noout 442.Op Fl noout
443.Op Fl dlimit Ar number 443.Op Fl dlimit Ar number
444.Op Fl in Ar filename 444.Op Fl in Ar filename
@@ -1312,8 +1312,9 @@ then even if a certificate is issued with CA:TRUE it will not be valid.
1312.\" 1312.\"
1313.Sh CIPHERS 1313.Sh CIPHERS
1314.Nm openssl ciphers 1314.Nm openssl ciphers
1315.Op Fl hv 1315.Op Fl h
1316.Op Fl ssl2 | ssl3 | tls1 1316.Op Fl ssl2 | ssl3 | tls1
1317.Op Fl v
1317.Op Ar cipherlist 1318.Op Ar cipherlist
1318.Pp 1319.Pp
1319The 1320The
@@ -1865,28 +1866,28 @@ install user certificates and CAs in MSIE using the Xenroll control.
1865.Nm openssl dgst 1866.Nm openssl dgst
1866.Bk -words 1867.Bk -words
1867.Oo 1868.Oo
1868.Fl md5 | md4 | md2 | sha1 | 1869.Fl dss1 | md2 | md4 | md5 |
1869.Fl sha | ripemd160 | dss1 1870.Fl ripemd160 | sha | sha1
1870.Oc 1871.Oc
1872.Op Fl binary
1871.Op Fl c 1873.Op Fl c
1872.Op Fl d 1874.Op Fl d
1873.Op Fl hex 1875.Op Fl hex
1874.Op Fl binary 1876.Op Fl engine Ar id
1877.Op Fl keyform Ar PEM | ENGINE
1875.Op Fl out Ar filename 1878.Op Fl out Ar filename
1876.Op Fl sign Ar filename
1877.Op Fl verify Ar filename
1878.Op Fl prverify Ar filename 1879.Op Fl prverify Ar filename
1879.Op Fl rand Ar file ... 1880.Op Fl rand Ar file ...
1881.Op Fl sign Ar filename
1880.Op Fl signature Ar filename 1882.Op Fl signature Ar filename
1881.Op Fl engine Ar id 1883.Op Fl verify Ar filename
1882.Op Fl keyform Ar PEM | ENGINE
1883.Op Ar file ... 1884.Op Ar file ...
1884.Ek 1885.Ek
1885.Pp 1886.Pp
1886.Nm openssl 1887.Nm openssl
1887.Xo 1888.Xo
1888.Cm md5 | md4 | md2 | sha1 | 1889.Cm md2 | md4 | md5 |
1889.Cm sha | ripemd160 1890.Cm ripemd160 | sha | sha1
1890.Xc 1891.Xc
1891.Op Fl c 1892.Op Fl c
1892.Op Fl d 1893.Op Fl d
@@ -1900,53 +1901,57 @@ in hexadecimal form.
1900They can also be used for digital signing and verification. 1901They can also be used for digital signing and verification.
1901.Pp 1902.Pp
1902The options are as follows: 1903The options are as follows:
1903.Bl -tag -width "XXXX" 1904.Bl -tag -width "-binary"
1905.It Fl binary
1906Output the digest or signature in binary form.
1904.It Fl c 1907.It Fl c
1905Print out the digest in two-digit groups separated by colons; only relevant if 1908Print out the digest in two-digit groups separated by colons; only relevant if
1906.Em hex 1909.Em hex
1907format output is used. 1910format output is used.
1908.It Fl d 1911.It Fl d
1909Print out BIO debugging information. 1912Print out BIO debugging information.
1913.It Fl engine Ar id
1914Specifying an engine (by it's unique
1915.Ar id
1916string) will cause
1917.Nm dgst
1918to attempt to obtain a functional reference to the specified engine,
1919thus initialising it if needed.
1920The engine will then be set as the default for all available algorithms.
1910.It Fl hex 1921.It Fl hex
1911Digest is to be output as a hex dump. 1922Digest is to be output as a hex dump.
1912This is the default case for a 1923This is the default case for a
1913.Qq normal 1924.Qq normal
1914digest as opposed to a digital signature. 1925digest as opposed to a digital signature.
1915.It Fl binary 1926.It Fl keyform Ar PEM | ENGINE
1916Output the digest or signature in binary form. 1927Key file format.
1917.It Fl out Ar filename 1928.It Fl out Ar filename
1918Filename to output to, or standard output by default. 1929Filename to output to, or standard output by default.
1919.It Fl sign Ar filename 1930.It Fl prverify Ar filename
1920Digitally sign the digest using the private key in 1931Verify the signature using the private key in
1921.Ar filename .
1922.It Fl verify Ar filename
1923Verify the signature using the public key in
1924.Ar filename . 1932.Ar filename .
1925The output is either 1933The output is either
1926.Qq Verification OK 1934.Qq Verification OK
1927or 1935or
1928.Qq Verification Failure . 1936.Qq Verification Failure .
1929.It Fl prverify Ar filename
1930Verify the signature using the private key in
1931.Ar filename .
1932.It Fl rand Ar file ... 1937.It Fl rand Ar file ...
1933A file or files containing random data used to seed the random number 1938A file or files containing random data used to seed the random number
1934generator, or an EGD socket (see 1939generator, or an EGD socket (see
1935.Xr RAND_egd 3 ) . 1940.Xr RAND_egd 3 ) .
1936Multiple files can be specified separated by a 1941Multiple files can be specified separated by a
1937.Sq \&: . 1942.Sq \&: .
1943.It Fl sign Ar filename
1944Digitally sign the digest using the private key in
1945.Ar filename .
1938.It Fl signature Ar filename 1946.It Fl signature Ar filename
1939The actual signature to verify. 1947The actual signature to verify.
1940.It Fl engine Ar id 1948.It Fl verify Ar filename
1941Specifying an engine (by it's unique 1949Verify the signature using the public key in
1942.Ar id 1950.Ar filename .
1943string) will cause 1951The output is either
1944.Nm dgst 1952.Qq Verification OK
1945to attempt to obtain a functional reference to the specified engine, 1953or
1946thus initialising it if needed. 1954.Qq Verification Failure .
1947The engine will then be set as the default for all available algorithms.
1948.It Fl keyform Ar PEM | ENGINE
1949Key file format.
1950.It Ar file ... 1955.It Ar file ...
1951File or files to digest. 1956File or files to digest.
1952If no files are specified then standard input is used. 1957If no files are specified then standard input is used.