Home
last modified time | relevance | path

Searched refs:cert_type (Results 1 – 16 of 16) sorted by relevance

/external/grpc-grpc/test/core/end2end/
Dh2_ssl_cert_test.cc143 #define CLIENT_INIT_NAME(cert_type) \ argument
144 chttp2_init_client_simple_ssl_secure_fullstack_##cert_type
148 #define CLIENT_INIT(cert_type) \ argument
149 static void CLIENT_INIT_NAME(cert_type)(grpc_end2end_test_fixture * f, \
159 switch (cert_type) { \
192 #define TEST_NAME(enum_name, cert_type, result) \ argument
193 "chttp2/ssl_" #enum_name "_" #cert_type "_" #result "_"
197 #define SSL_TEST(request_type, cert_type, result) \ argument
199 {TEST_NAME(request_type, cert_type, result), \
205 CLIENT_INIT_NAME(cert_type), \
/external/curl/lib/
Dldap.c356 int cert_type = LDAPSSL_CERT_FILETYPE_B64; in Curl_ldap()
357 if((data->set.ssl.cert_type) && in Curl_ldap()
358 (strcasecompare(data->set.ssl.cert_type, "DER"))) in Curl_ldap()
359 cert_type = LDAPSSL_CERT_FILETYPE_DER; in Curl_ldap()
362 (cert_type == LDAPSSL_CERT_FILETYPE_DER ? "DER" : "PEM")); in Curl_ldap()
367 (cert_type == LDAPSSL_CERT_FILETYPE_DER ? "DER" : "PEM"), in Curl_ldap()
369 rc = ldapssl_add_trusted_cert(ldap_ca, cert_type); in Curl_ldap()
372 (cert_type == LDAPSSL_CERT_FILETYPE_DER ? "DER" : "PEM"), in Curl_ldap()
398 if((data->set.ssl.cert_type) && in Curl_ldap()
399 (!strcasecompare(data->set.ssl.cert_type, "PEM"))) { in Curl_ldap()
Durldata.h246 char *cert_type; /* format for certificate (default: PEM)*/ member
Durl.c3656 data->set.proxy_ssl.cert_type = data->set.str[STRING_CERT_TYPE_PROXY];
3665 data->set.ssl.cert_type = data->set.str[STRING_CERT_TYPE_ORIG];
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c429 CBS cert_bag, cert_type, wrapped_cert, cert; in PKCS12_handle_safe_bag() local
431 !CBS_get_asn1(&cert_bag, &cert_type, CBS_ASN1_OBJECT) || in PKCS12_handle_safe_bag()
440 if (!CBS_mem_equal(&cert_type, kX509Certificate, in PKCS12_handle_safe_bag()
1018 CBB bag, bag_oid, bag_contents, cert_bag, cert_type, wrapped_cert, cert_value; in add_cert_bag() local
1027 !CBB_add_asn1(&cert_bag, &cert_type, CBS_ASN1_OBJECT) || in add_cert_bag()
1028 !CBB_add_bytes(&cert_type, kX509Certificate, sizeof(kX509Certificate)) || in add_cert_bag()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c460 CBS cert_bag, cert_type, wrapped_cert, cert; in PKCS12_handle_safe_bag() local
462 !CBS_get_asn1(&cert_bag, &cert_type, CBS_ASN1_OBJECT) || in PKCS12_handle_safe_bag()
471 if (!CBS_mem_equal(&cert_type, kX509Certificate, in PKCS12_handle_safe_bag()
1049 CBB bag, bag_oid, bag_contents, cert_bag, cert_type, wrapped_cert, cert_value; in add_cert_bag() local
1058 !CBB_add_asn1(&cert_bag, &cert_type, CBS_ASN1_OBJECT) || in add_cert_bag()
1059 !CBB_add_bytes(&cert_type, kX509Certificate, sizeof(kX509Certificate)) || in add_cert_bag()
/external/curl/src/
Dtool_cfgable.h142 char *cert_type; member
Dtool_cfgable.c113 Curl_safefree(config->cert_type); in free_config_fields()
Dtool_operate.c1534 if(!config->cert_type) { in single_transfer()
1536 config->cert_type = strdup("ENG"); in single_transfer()
1614 my_setopt_str(curl, CURLOPT_SSLCERTTYPE, config->cert_type); in single_transfer()
Dtool_getparam.c1539 GetStr(&config->cert_type, nextarg); in getparameter()
/external/curl/lib/vtls/
Dmesalink.c183 int file_type = do_file_type(SSL_SET_OPTION(cert_type)); in mesalink_connect_step1()
Dgtls.c653 do_file_type(SSL_SET_OPTION(cert_type)), in gtls_connect_step1()
669 do_file_type(SSL_SET_OPTION(cert_type)) ) != in gtls_connect_step1()
Dsectransp.c1654 if(!SSL_SET_OPTION(cert_type))
1657 else if(strncmp(SSL_SET_OPTION(cert_type), "P12",
1658 strlen(SSL_SET_OPTION(cert_type))) != 0)
Dopenssl.c699 const char *cert_type, in cert_stuff() argument
709 int file_type = do_file_type(cert_type); in cert_stuff()
932 failf(data, "not supported file type '%s' for certificate", cert_type); in cert_stuff()
2479 const char * const ssl_cert_type = SSL_SET_OPTION(cert_type); in ossl_connect_step1()
Dwolfssl.c383 int file_type = do_file_type(SSL_SET_OPTION(cert_type)); in wolfssl_connect_step1()
Dschannel.c630 if((fInCert || blob) && (data->set.ssl.cert_type) && in schannel_connect_step1()
631 (!strcasecompare(data->set.ssl.cert_type, "P12"))) { in schannel_connect_step1()