Searched refs:cert_type (Results 1 – 12 of 12) sorted by relevance
/curl/lib/ |
H A D | ldap.c | 393 int cert_type = LDAPSSL_CERT_FILETYPE_B64; in ldap_do() 394 if((data->set.ssl.cert_type) && in ldap_do() 395 (strcasecompare(data->set.ssl.cert_type, "DER"))) in ldap_do() 396 cert_type = LDAPSSL_CERT_FILETYPE_DER; in ldap_do() 399 (cert_type == LDAPSSL_CERT_FILETYPE_DER ? "DER" : "PEM")); in ldap_do() 404 (cert_type == LDAPSSL_CERT_FILETYPE_DER ? "DER" : "PEM"), in ldap_do() 406 rc = ldapssl_add_trusted_cert(ldap_ca, cert_type); in ldap_do() 409 (cert_type == LDAPSSL_CERT_FILETYPE_DER ? "DER" : "PEM"), in ldap_do() 435 if((data->set.ssl.cert_type) && in ldap_do() 436 (!strcasecompare(data->set.ssl.cert_type, "PEM"))) { in ldap_do()
|
H A D | urldata.h | 321 char *cert_type; /* format for certificate (default: PEM)*/ member
|
/curl/src/ |
H A D | tool_cfgable.h | 143 char *cert_type; member
|
H A D | tool_cfgable.c | 123 Curl_safefree(config->cert_type); in free_config_fields()
|
H A D | tool_operate.c | 845 if(config->cert && !config->cert_type && is_pkcs11_uri(config->cert)) { in set_cert_types() 846 config->cert_type = strdup("ENG"); in set_cert_types() 847 if(!config->cert_type) in set_cert_types() 1286 my_setopt_str(curl, CURLOPT_SSLCERTTYPE, config->cert_type); in config2setopts()
|
H A D | tool_getparam.c | 1904 err = getstr(&config->cert_type, nextarg, DENY_BLANK); in getparameter()
|
/curl/lib/vtls/ |
H A D | gtls.c | 956 if(ssl_config->cert_type && strcasecompare(ssl_config->cert_type, "P12")) { in gtls_client_init() 978 gnutls_do_file_type(ssl_config->cert_type), in gtls_client_init() 993 gnutls_do_file_type(ssl_config->cert_type) ) != in gtls_client_init()
|
H A D | wolfssl.c | 1011 int file_type = wolfssl_do_file_type(ssl_config->cert_type); in wolfssl_connect_step1() 1057 int file_type = wolfssl_do_file_type(ssl_config->cert_type); in wolfssl_connect_step1()
|
H A D | openssl.c | 1298 const char *cert_type, in cert_stuff() argument 1307 int file_type = ossl_do_file_type(cert_type); in cert_stuff() 1539 failf(data, "not supported file type '%s' for certificate", cert_type); in cert_stuff() 3498 const char * const ssl_cert_type = ssl_config->cert_type; in Curl_ossl_ctx_init()
|
H A D | vtls.c | 312 data->set.ssl.cert_type = data->set.str[STRING_CERT_TYPE]; in Curl_ssl_easy_config_complete() 337 data->set.proxy_ssl.cert_type = data->set.str[STRING_CERT_TYPE_PROXY]; in Curl_ssl_easy_config_complete()
|
H A D | sectransp.c | 1141 if(!ssl_config->cert_type) 1144 else if(!strcasecompare(ssl_config->cert_type, "P12")) {
|
H A D | schannel.c | 590 if((fInCert || blob) && (data->set.ssl.cert_type) && in schannel_acquire_credential_handle() 591 (!strcasecompare(data->set.ssl.cert_type, "P12"))) { in schannel_acquire_credential_handle()
|
Completed in 1694 milliseconds