mirror of https://github.com/moparisthebest/curl
Gtz Babin-Ebell provided some documantation for the ENGINE stuff
This commit is contained in:
parent
affe334675
commit
47f45aa229
|
@ -319,13 +319,54 @@ with \fIcurl_easy_cleanup(3)\fP.
|
||||||
.TP
|
.TP
|
||||||
.B CURLOPT_SSLCERT
|
.B CURLOPT_SSLCERT
|
||||||
Pass a pointer to a zero terminated string as parameter. The string should be
|
Pass a pointer to a zero terminated string as parameter. The string should be
|
||||||
the file name of your certificate in PEM format.
|
the file name of your certificate. The default format is "PEM" and can be
|
||||||
|
changed with \fICURLOPT_SSLCERTTYPE\fP.
|
||||||
|
.TP
|
||||||
|
.B CURLOPT_SSLCERTTYPE
|
||||||
|
Pass a pointer to a zero terminated string as parameter. The string should be
|
||||||
|
the format of your certificate. Supported formats are "PEM" and "DER".
|
||||||
.TP
|
.TP
|
||||||
.B CURLOPT_SSLCERTPASSWD
|
.B CURLOPT_SSLCERTPASSWD
|
||||||
Pass a pointer to a zero terminated string as parameter. It will be used as
|
Pass a pointer to a zero terminated string as parameter. It will be used as
|
||||||
the password required to use the CURLOPT_SSLCERT certificate. If the password
|
the password required to use the CURLOPT_SSLCERT certificate. If the password
|
||||||
is not supplied, you will be prompted for it. \fICURLOPT_PASSWDFUNCTION\fP can
|
is not supplied, you will be prompted for it. \fICURLOPT_PASSWDFUNCTION\fP can
|
||||||
be used to set your own prompt function.
|
be used to set your own prompt function.
|
||||||
|
|
||||||
|
\fBNOTE:\fPThis option is replaced by \fICURLOPT_SSLKEYPASSWD\fP and only
|
||||||
|
cept for backward compatibility. You never needed a pass phrase to load
|
||||||
|
a certificate but you need one to load your private key.
|
||||||
|
.TP
|
||||||
|
.B CURLOPT_SSLKEY
|
||||||
|
Pass a pointer to a zero terminated string as parameter. The string should be
|
||||||
|
the file name of your private key. The default format is "PEM" and can be
|
||||||
|
changed with \fICURLOPT_SSLKEYTYPE\fP.
|
||||||
|
.TP
|
||||||
|
.B CURLOPT_SSLKEYTYPE
|
||||||
|
Pass a pointer to a zero terminated string as parameter. The string should be
|
||||||
|
the format of your private key. Supported formats are "PEM", "DER" and "ENG".
|
||||||
|
|
||||||
|
\fBNOTE:\fPThe format "ENG" enables you to load the private key from a crypto
|
||||||
|
engine. in this case \fICURLOPT_SSLKEY\fP is used as an identifier passed to
|
||||||
|
the engine. You have to set the crypto engine with \fICURLOPT_SSL_ENGINE\fP.
|
||||||
|
.TP
|
||||||
|
.B CURLOPT_SSLKEYASSWD
|
||||||
|
Pass a pointer to a zero terminated string as parameter. It will be used as
|
||||||
|
the password required to use the \fICURLOPT_SSLKEY\fP private key. If the password
|
||||||
|
is not supplied, you will be prompted for it. \fICURLOPT_PASSWDFUNCTION\fP can
|
||||||
|
be used to set your own prompt function.
|
||||||
|
.TP
|
||||||
|
.B CURLOPT_SSL_ENGINE
|
||||||
|
Pass a pointer to a zero terminated string as parameter. It will be used as
|
||||||
|
the identifier for the crypto engine you want to use for your private key.
|
||||||
|
|
||||||
|
\fBNOTE:\fPIf the crypto device cannot be loaded, \fICURLE_SSL_ENGINE_NOTFOUND\fP
|
||||||
|
is returned.
|
||||||
|
.TP
|
||||||
|
.B CURLOPT_SSL_ENGINEDEFAULT
|
||||||
|
Sets the actual crypto engine as the default for (asymetric) crypto operations.
|
||||||
|
|
||||||
|
\fBNOTE:\fPIf the crypto device cannot be set, \fICURLE_SSL_ENGINE_SETFAILED\fP
|
||||||
|
is returned.
|
||||||
.TP
|
.TP
|
||||||
.B CURLOPT_CRLF
|
.B CURLOPT_CRLF
|
||||||
Convert Unix newlines to CRLF newlines on FTP uploads.
|
Convert Unix newlines to CRLF newlines on FTP uploads.
|
||||||
|
|
Loading…
Reference in New Issue