parent
3a4f42dd0c
commit
664398e43b
@ -26,19 +26,19 @@ CURLOPT_TLSAUTH_TYPE \- set TLS authentication methods
|
|||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TLSAUTH_TYPE, long bitmask);
|
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TLSAUTH_TYPE, char *type);
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a long as parameter, which is set to a bitmask, to tell libcurl which
|
Pass a pointer to a zero terminated string as parameter. The string
|
||||||
authentication method(s) you want it to use for TLS authentication.
|
should be the method of the TLS authentication. Supported method is "SRP".
|
||||||
|
|
||||||
.IP CURL_TLSAUTH_SRP
|
.IP SRP
|
||||||
TLS-SRP authentication. Secure Remote Password authentication for TLS is
|
TLS-SRP authentication. Secure Remote Password authentication for TLS is
|
||||||
defined in RFC5054 and provides mutual authentication if both sides have a
|
defined in RFC5054 and provides mutual authentication if both sides have a
|
||||||
shared secret. To use TLS-SRP, you must also set the
|
shared secret. To use TLS-SRP, you must also set the
|
||||||
\fICURLOPT_TLSAUTH_USERNAME(3)\fP and \fICURLOPT_TLSAUTH_PASSWORD(3)\fP
|
\fICURLOPT_TLSAUTH_USERNAME(3)\fP and \fICURLOPT_TLSAUTH_PASSWORD(3)\fP
|
||||||
options.
|
options.
|
||||||
.SH DEFAULT
|
.SH DEFAULT
|
||||||
CURL_TLSAUTH_NONE (0)
|
blank
|
||||||
.SH PROTOCOLS
|
.SH PROTOCOLS
|
||||||
All TLS-based protocols
|
All TLS-based protocols
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
|
Loading…
Reference in New Issue
Block a user