Lines Matching refs:x509_cert
1318 gnutls_x509_crt_t x509_cert, x509_issuer; in Curl_gtls_verifyserver() local
1532 gnutls_x509_crt_init(&x509_cert); in Curl_gtls_verifyserver()
1537 gnutls_x509_crt_import(x509_cert, chainp, GNUTLS_X509_FMT_DER); in Curl_gtls_verifyserver()
1543 rc = (int)gnutls_x509_crt_check_issuer(x509_cert, x509_issuer); in Curl_gtls_verifyserver()
1549 gnutls_x509_crt_deinit(x509_cert); in Curl_gtls_verifyserver()
1557 rc = gnutls_x509_crt_get_dn_by_oid(x509_cert, GNUTLS_OID_X520_COMMON_NAME, in Curl_gtls_verifyserver()
1576 rc = (int)gnutls_x509_crt_check_hostname(x509_cert, in Curl_gtls_verifyserver()
1604 int ret = gnutls_x509_crt_get_subject_alt_name(x509_cert, i, certaddr, in Curl_gtls_verifyserver()
1625 gnutls_x509_crt_deinit(x509_cert); in Curl_gtls_verifyserver()
1636 certclock = gnutls_x509_crt_get_expiration_time(x509_cert); in Curl_gtls_verifyserver()
1642 gnutls_x509_crt_deinit(x509_cert); in Curl_gtls_verifyserver()
1653 gnutls_x509_crt_deinit(x509_cert); in Curl_gtls_verifyserver()
1663 certclock = gnutls_x509_crt_get_activation_time(x509_cert); in Curl_gtls_verifyserver()
1669 gnutls_x509_crt_deinit(x509_cert); in Curl_gtls_verifyserver()
1680 gnutls_x509_crt_deinit(x509_cert); in Curl_gtls_verifyserver()
1691 result = pkp_pin_peer_pubkey(data, x509_cert, pinned_key); in Curl_gtls_verifyserver()
1694 gnutls_x509_crt_deinit(x509_cert); in Curl_gtls_verifyserver()
1711 algo = gnutls_x509_crt_get_pk_algorithm(x509_cert, &bits); in Curl_gtls_verifyserver()
1717 gnutls_x509_crt_get_version(x509_cert)); in Curl_gtls_verifyserver()
1720 rc = gnutls_x509_crt_get_dn2(x509_cert, &certfields); in Curl_gtls_verifyserver()
1726 certclock = gnutls_x509_crt_get_activation_time(x509_cert); in Curl_gtls_verifyserver()
1729 certclock = gnutls_x509_crt_get_expiration_time(x509_cert); in Curl_gtls_verifyserver()
1735 rc = gnutls_x509_crt_get_issuer_dn2(x509_cert, &certfields); in Curl_gtls_verifyserver()
1745 gnutls_x509_crt_deinit(x509_cert); in Curl_gtls_verifyserver()