diff options
| author | jmc <> | 2003-12-13 20:10:38 +0000 |
|---|---|---|
| committer | jmc <> | 2003-12-13 20:10:38 +0000 |
| commit | 9685cfb19e431059c2c2a6bc968d2d0b3756b866 (patch) | |
| tree | b40e1473ff855e1dfda97af90124636548c3129b /src | |
| parent | 9666fbc2059d96f2efdc24a8a22c533ad7d1a6e6 (diff) | |
| download | openbsd-9685cfb19e431059c2c2a6bc968d2d0b3756b866.tar.gz openbsd-9685cfb19e431059c2c2a6bc968d2d0b3756b866.tar.bz2 openbsd-9685cfb19e431059c2c2a6bc968d2d0b3756b866.zip | |
sort options and typos for openssl {dsa,dsaparam};
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.sbin/openssl/openssl.1 | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1 index 481bf32726..bfa12fe451 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.24 2003/11/26 21:17:17 jmc Exp $ | 1 | .\" $OpenBSD: openssl.1,v 1.25 2003/12/13 20:10:38 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 | .\" |
| @@ -2139,11 +2139,13 @@ option was added in | |||
| 2139 | .Nm openssl dsa | 2139 | .Nm openssl dsa |
| 2140 | .Bk -words | 2140 | .Bk -words |
| 2141 | .Oo | 2141 | .Oo |
| 2142 | .Fl des | des3 | aes128 | aes192 | | 2142 | .Fl aes128 | aes192 | aes256 | |
| 2143 | .Fl aes256 | 2143 | .Fl des | des3 |
| 2144 | .Oc | 2144 | .Oc |
| 2145 | .Op Fl modulus | 2145 | .Op Fl modulus |
| 2146 | .Op Fl noout | 2146 | .Op Fl noout |
| 2147 | .Op Fl pubin | ||
| 2148 | .Op Fl pubout | ||
| 2147 | .Op Fl text | 2149 | .Op Fl text |
| 2148 | .Op Fl engine Ar id | 2150 | .Op Fl engine Ar id |
| 2149 | .Op Fl in Ar filename | 2151 | .Op Fl in Ar filename |
| @@ -2152,8 +2154,6 @@ option was added in | |||
| 2152 | .Op Fl outform Ar DER | PEM | 2154 | .Op Fl outform Ar DER | PEM |
| 2153 | .Op Fl passin Ar arg | 2155 | .Op Fl passin Ar arg |
| 2154 | .Op Fl passout Ar arg | 2156 | .Op Fl passout Ar arg |
| 2155 | .Op Fl pubin | ||
| 2156 | .Op Fl pubout | ||
| 2157 | .Ek | 2157 | .Ek |
| 2158 | .Pp | 2158 | .Pp |
| 2159 | The | 2159 | The |
| @@ -2172,11 +2172,11 @@ command. | |||
| 2172 | The options are as follows: | 2172 | The options are as follows: |
| 2173 | .Bl -tag -width "XXXX" | 2173 | .Bl -tag -width "XXXX" |
| 2174 | .It Xo | 2174 | .It Xo |
| 2175 | .Fl des | des3 | aes128 | | 2175 | .Fl aes128 | aes192 | aes256 | |
| 2176 | .Fl aes192 | aes256 | 2176 | .Fl des | des3 |
| 2177 | .Xc | 2177 | .Xc |
| 2178 | These options encrypt the private key with the DES, triple DES, or the | 2178 | These options encrypt the private key with the AES, DES, or the triple DES |
| 2179 | AES ciphers, respectively, before outputting it. | 2179 | ciphers, respectively, before outputting it. |
| 2180 | A pass phrase is prompted for. | 2180 | A pass phrase is prompted for. |
| 2181 | If none of these options is specified, the key is written in plain text. | 2181 | If none of these options is specified, the key is written in plain text. |
| 2182 | This means that using the | 2182 | This means that using the |
| @@ -2209,7 +2209,7 @@ argument with a private key uses an ASN1 DER encoded form of an ASN.1 | |||
| 2209 | SEQUENCE consisting of the values of version | 2209 | SEQUENCE consisting of the values of version |
| 2210 | .Pq currently zero , | 2210 | .Pq currently zero , |
| 2211 | P, Q, G, | 2211 | P, Q, G, |
| 2212 | the public and private key components, respectively, as ASN.1 INTEGERs. | 2212 | and the public and private key components, respectively, as ASN.1 INTEGERs. |
| 2213 | When used with a public key it uses a | 2213 | When used with a public key it uses a |
| 2214 | .Em SubjectPublicKeyInfo | 2214 | .Em SubjectPublicKeyInfo |
| 2215 | structure: it is an error if the key is not DSA. | 2215 | structure: it is an error if the key is not DSA. |
| @@ -2217,7 +2217,7 @@ structure: it is an error if the key is not DSA. | |||
| 2217 | The | 2217 | The |
| 2218 | .Ar PEM | 2218 | .Ar PEM |
| 2219 | form is the default format: | 2219 | form is the default format: |
| 2220 | It consists of the DER format base64 | 2220 | it consists of the DER format base64 |
| 2221 | encoded with additional header and footer lines. | 2221 | encoded with additional header and footer lines. |
| 2222 | In the case of a private key, PKCS#8 format is also accepted. | 2222 | In the case of a private key, PKCS#8 format is also accepted. |
| 2223 | .It Fl modulus | 2223 | .It Fl modulus |
| @@ -2303,16 +2303,16 @@ To just output the public part of a private key: | |||
| 2303 | .Sh DSAPARAM | 2303 | .Sh DSAPARAM |
| 2304 | .Nm openssl dsaparam | 2304 | .Nm openssl dsaparam |
| 2305 | .Bk -words | 2305 | .Bk -words |
| 2306 | .Op Fl inform Ar DER | PEM | ||
| 2307 | .Op Fl outform Ar DER | PEM | ||
| 2308 | .Op Fl in Ar filename | ||
| 2309 | .Op Fl out Ar filename | ||
| 2310 | .Op Fl noout | ||
| 2311 | .Op Fl text | ||
| 2312 | .Op Fl C | 2306 | .Op Fl C |
| 2313 | .Op Fl rand Ar file ... | ||
| 2314 | .Op Fl genkey | 2307 | .Op Fl genkey |
| 2308 | .Op Fl noout | ||
| 2309 | .Op Fl text | ||
| 2315 | .Op Fl engine Ar id | 2310 | .Op Fl engine Ar id |
| 2311 | .Op Fl in Ar filename | ||
| 2312 | .Op Fl inform Ar DER | PEM | ||
| 2313 | .Op Fl out Ar filename | ||
| 2314 | .Op Fl outform Ar DER | PEM | ||
| 2315 | .Op Fl rand Ar file ... | ||
| 2316 | .Op Ar numbits | 2316 | .Op Ar numbits |
| 2317 | .Ek | 2317 | .Ek |
| 2318 | .Pp | 2318 | .Pp |
| @@ -2322,6 +2322,29 @@ command is used to manipulate or generate DSA parameter files. | |||
| 2322 | .Pp | 2322 | .Pp |
| 2323 | The options are as follows: | 2323 | The options are as follows: |
| 2324 | .Bl -tag -width "XXXX" | 2324 | .Bl -tag -width "XXXX" |
| 2325 | .It Fl C | ||
| 2326 | This option converts the parameters into C code. | ||
| 2327 | The parameters can then be loaded by calling the | ||
| 2328 | .Cm get_dsa Ns Ar XXX Ns Li () | ||
| 2329 | function. | ||
| 2330 | .It Fl engine Ar id | ||
| 2331 | Specifying an engine (by it's unique | ||
| 2332 | .Ar id | ||
| 2333 | string) will cause | ||
| 2334 | .Nm dsaparam | ||
| 2335 | to attempt to obtain a functional reference to the specified engine, | ||
| 2336 | thus initialising it if needed. | ||
| 2337 | The engine will then be set as the default for all available algorithms. | ||
| 2338 | .It Fl genkey | ||
| 2339 | This option will generate a DSA either using the specified or generated | ||
| 2340 | parameters. | ||
| 2341 | .It Fl in Ar filename | ||
| 2342 | This specifies the input | ||
| 2343 | .Ar filename | ||
| 2344 | to read parameters from, or standard input if this option is not specified. | ||
| 2345 | If the | ||
| 2346 | .Ar numbits | ||
| 2347 | parameter is included, then this option will be ignored. | ||
| 2325 | .It Fl inform Ar DER | PEM | 2348 | .It Fl inform Ar DER | PEM |
| 2326 | This specifies the input format. | 2349 | This specifies the input format. |
| 2327 | The | 2350 | The |
| @@ -2334,17 +2357,15 @@ The | |||
| 2334 | form is the default format: | 2357 | form is the default format: |
| 2335 | it consists of the DER format base64 encoded with additional header | 2358 | it consists of the DER format base64 encoded with additional header |
| 2336 | and footer lines. | 2359 | and footer lines. |
| 2337 | .It Fl outform Ar DER | PEM | 2360 | .It Fl noout |
| 2338 | This specifies the output format; the options have the same meaning as the | 2361 | This option inhibits the output of the encoded version of the parameters. |
| 2339 | .Fl inform | 2362 | .It Ar numbits |
| 2340 | option. | 2363 | This option specifies that a parameter set should be generated of size |
| 2341 | .It Fl in Ar filename | 2364 | .Ar numbits . |
| 2342 | This specifies the input | 2365 | It must be the last option. |
| 2343 | .Ar filename | 2366 | If this option is included, then the input file |
| 2344 | to read parameters from, or standard input if this option is not specified. | 2367 | .Pq if any |
| 2345 | If the | 2368 | is ignored. |
| 2346 | .Ar numbits | ||
| 2347 | parameter is included, then this option will be ignored. | ||
| 2348 | .It Fl out Ar filename | 2369 | .It Fl out Ar filename |
| 2349 | This specifies the output | 2370 | This specifies the output |
| 2350 | .Ar filename | 2371 | .Ar filename |
| @@ -2353,39 +2374,18 @@ Standard output is used if this option is not present. | |||
| 2353 | The output filename should | 2374 | The output filename should |
| 2354 | .Em not | 2375 | .Em not |
| 2355 | be the same as the input filename. | 2376 | be the same as the input filename. |
| 2356 | .It Fl noout | 2377 | .It Fl outform Ar DER | PEM |
| 2357 | This option inhibits the output of the encoded version of the parameters. | 2378 | This specifies the output format; the options have the same meaning as the |
| 2358 | .It Fl text | 2379 | .Fl inform |
| 2359 | This option prints out the DSA parameters in human readable form. | 2380 | option. |
| 2360 | .It Fl C | ||
| 2361 | This option converts the parameters into C code. | ||
| 2362 | The parameters can then be loaded by calling the | ||
| 2363 | .Cm get_dsa Ns Ar XXX Ns Li () | ||
| 2364 | function. | ||
| 2365 | .It Fl genkey | ||
| 2366 | This option will generate a DSA either using the specified or generated | ||
| 2367 | parameters. | ||
| 2368 | .It Fl rand Ar file ... | 2381 | .It Fl rand Ar file ... |
| 2369 | A file or files containing random data used to seed the random number | 2382 | A file or files containing random data used to seed the random number |
| 2370 | generator, or an EGD socket (see | 2383 | generator, or an EGD socket (see |
| 2371 | .Xr RAND_egd 3 ) . | 2384 | .Xr RAND_egd 3 ) . |
| 2372 | Multiple files can be specified, separated by a | 2385 | Multiple files can be specified, separated by a |
| 2373 | .Sq \&: . | 2386 | .Sq \&: . |
| 2374 | .It Ar numbits | 2387 | .It Fl text |
| 2375 | This option specifies that a parameter set should be generated of size | 2388 | This option prints out the DSA parameters in human readable form. |
| 2376 | .Ar numbits . | ||
| 2377 | It must be the last option. | ||
| 2378 | If this option is included, then the input file | ||
| 2379 | .Pq if any | ||
| 2380 | is ignored. | ||
| 2381 | .It Fl engine Ar id | ||
| 2382 | Specifying an engine (by it's unique | ||
| 2383 | .Ar id | ||
| 2384 | string) will cause | ||
| 2385 | .Nm dsaparam | ||
| 2386 | to attempt to obtain a functional reference to the specified engine, | ||
| 2387 | thus initialising it if needed. | ||
| 2388 | The engine will then be set as the default for all available algorithms. | ||
| 2389 | .El | 2389 | .El |
| 2390 | .Sh DSAPARAM NOTES | 2390 | .Sh DSAPARAM NOTES |
| 2391 | .Ar PEM | 2391 | .Ar PEM |
