|
3269 | 3269 | </term>
|
3270 | 3270 | <listitem>
|
3271 | 3271 | <para>
|
3272 |
| - Set to the filename of the <filename>known_host</filename> file to use |
3273 |
| - which should use the OpenSSH file format as supported by libssh2. |
3274 |
| - Available as of cURL 7.19.6. |
| 3272 | + 设置为要使用的 <filename>known_host</filename> 文件的文件名,该文件应使用 libssh2 支持的 OpenSSH 文件格式。自 cURL 7.19.6 起可用。 |
3275 | 3273 | </para>
|
3276 | 3274 | </listitem>
|
3277 | 3275 | </varlistentry>
|
|
3282 | 3280 | </term>
|
3283 | 3281 | <listitem>
|
3284 | 3282 | <para>
|
3285 |
| - The file name for a private key. If not used, cURL defaults to |
3286 |
| - <filename>$HOME/.ssh/id_dsa</filename> if the HOME environment variable is set, |
3287 |
| - and just <literal>id_dsa</literal> in the current directory if HOME is not set. |
3288 |
| - If the file is password-protected, set the password with |
3289 |
| - <constant>CURLOPT_KEYPASSWD</constant>. |
3290 |
| - Available as of cURL 7.16.1. |
| 3283 | + 私钥的文件名。如果未指定,cURL 会默认使用 <filename>$HOME/.ssh/id_dsa</filename>(如果设置了 HOME |
| 3284 | + 环境变量的话),或者在 HOME 未设置的情况下,默认使用当前目录下的 <literal>id_dsa</literal> |
| 3285 | + 文件。如果文件受密码保护,则需要使用 <constant>CURLOPT_KEYPASSWD</constant> 设置密码,自 cURL 7.16.1 起可用。 |
3291 | 3286 | </para>
|
3292 | 3287 | </listitem>
|
3293 | 3288 | </varlistentry>
|
|
3298 | 3293 | </term>
|
3299 | 3294 | <listitem>
|
3300 | 3295 | <para>
|
3301 |
| - The file name for a public key. If not used, cURL defaults to |
3302 |
| - <filename>$HOME/.ssh/id_dsa.pub</filename> if the HOME environment variable is set, |
3303 |
| - and just <literal>id_dsa.pub</literal> in the current directory if HOME is not set. |
3304 |
| - Available as of cURL 7.16.1. |
| 3296 | + 公钥的文件名。如果未指定,cURL 会默认使用 <filename>$HOME/.ssh/id_dsa.pub</filename>(如果设置了 HOME |
| 3297 | + 环境变量的话),或者在 HOME 未设置的情况下,默认使用当前目录下的 <literal>id_dsa.pub</literal> |
| 3298 | + 文件。自 cURL 7.16.1 起可用。 |
3305 | 3299 | </para>
|
3306 | 3300 | </listitem>
|
3307 | 3301 | </varlistentry>
|
|
3312 | 3306 | </term>
|
3313 | 3307 | <listitem>
|
3314 | 3308 | <para>
|
3315 |
| - The name of a file containing a PEM formatted certificate. |
3316 |
| - Available as of cURL 7.1.0. |
| 3309 | + 包含 PEM 格式证书的文件名称。自 cURL 7.1.0 起可用。 |
3317 | 3310 | </para>
|
3318 | 3311 | </listitem>
|
3319 | 3312 | </varlistentry>
|
|
3324 | 3317 | </term>
|
3325 | 3318 | <listitem>
|
3326 | 3319 | <para>
|
3327 |
| - The password required to use the |
3328 |
| - <constant>CURLOPT_SSLCERT</constant> certificate. |
3329 |
| - Available as of cURL 7.1.0 and deprecated as of cURL 7.17.0. |
| 3320 | + 使用 <constant>CURLOPT_SSLCERT</constant> 证书所需的密码。自 cURL 7.1.0 起可用,自 cURL 7.17.0 起已弃用。 |
3330 | 3321 | </para>
|
3331 | 3322 | </listitem>
|
3332 | 3323 | </varlistentry>
|
|
3337 | 3328 | </term>
|
3338 | 3329 | <listitem>
|
3339 | 3330 | <para>
|
3340 |
| - A <type>string</type> with the format of the certificate. Supported formats are: |
| 3331 | + <type>string</type> 的证书格式。支持的格式有: |
3341 | 3332 | <simplelist type="inline">
|
3342 | 3333 | <member><literal>PEM</literal></member>
|
3343 | 3334 | <member><literal>DER</literal></member>
|
3344 | 3335 | <member><literal>ENG</literal></member>
|
3345 | 3336 | <member><literal>P12</literal></member>
|
3346 |
| - </simplelist>. |
3347 |
| - <literal>P12</literal> (for PKCS#12-encoded files) is available as of OpenSSL 0.9.3. |
3348 |
| - Defaults to <literal>PEM</literal>. |
3349 |
| - Available as of cURL 7.9.3. |
| 3337 | + </simplelist>。 |
| 3338 | + <literal>P12</literal>(用于 PKCS#12 编码文件)自 OpenSSL 0.9.3 |
| 3339 | + 起可用。默认 <literal>PEM</literal>。自 cURL 7.9.3 起可用。 |
3350 | 3340 | </para>
|
3351 | 3341 | </listitem>
|
3352 | 3342 | </varlistentry>
|
|
0 commit comments