1CURLOPT_PROXY_SSL_CIPHER_LIScTu(r3l)_easy_setopt optCiUoRnLsOPT_PROXY_SSL_CIPHER_LIST(3)
2
3
4

NAME

6       CURLOPT_PROXY_SSL_CIPHER_LIST - ciphers to use for HTTPS proxy
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_SSL_CIPHER_LIST,
12                                 char *list);
13

DESCRIPTION

15       Pass a char *, pointing to a null-terminated string holding the list of
16       ciphers to use for the connection to the HTTPS proxy. The list must  be
17       syntactically  correct, it consists of one or more cipher strings sepa‐
18       rated by colons. Commas or spaces are also  acceptable  separators  but
19       colons are normally used, !, - and + can be used as operators.
20
21       For  OpenSSL and GnuTLS valid examples of cipher lists include RC4-SHA,
22       SHA1+DES, TLSv1 and DEFAULT. The default list is normally set when  you
23       compile OpenSSL.
24
25       For  NSS,  valid  examples  of  cipher  lists  include rsa_rc4_128_md5,
26       rsa_aes_128_sha, etc. With NSS you do not add/remove  ciphers.  If  one
27       uses  this  option  then  all known ciphers are disabled and only those
28       passed in are enabled.
29
30       For WolfSSL, valid examples of cipher lists include  ECDHE-RSA-RC4-SHA,
31       AES256-SHA:AES256-SHA256, etc.
32
33       you will find more details about cipher lists on this URL:
34
35        https://curl.se/docs/ssl-ciphers.html
36
37       The  application  does not have to keep the string around after setting
38       this option.
39

DEFAULT

41       NULL, use internal default
42

PROTOCOLS

44       All
45

EXAMPLE

47       CURL *curl = curl_easy_init();
48       if(curl) {
49         curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
50         curl_easy_setopt(curl, CURLOPT_PROXY, "https://localhost");
51         curl_easy_setopt(curl, CURLOPT_PROXY_SSL_CIPHER_LIST, "TLSv1");
52         ret = curl_easy_perform(curl);
53         curl_easy_cleanup(curl);
54       }
55

AVAILABILITY

57       Added in 7.52.0
58
59       If built TLS enabled.
60

RETURN VALUE

62       Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if  not,  or
63       CURLE_OUT_OF_MEMORY if there was insufficient heap space.
64

SEE ALSO

66       CURLOPT_PROXY_TLS13_CIPHERS(3),    CURLOPT_PROXY_SSLVERSION(3),    CUR‐
67       LOPT_SSL_CIPHER_LIST(3),   CURLOPT_TLS13_CIPHERS(3),    CURLOPT_SSLVER‐
68       SION(3),
69
70
71
72libcurl 7.82.0                 November 26, 202C1URLOPT_PROXY_SSL_CIPHER_LIST(3)
Impressum