Lines Matching refs:x509_cert
1015 gnutls_x509_crt_t x509_cert, x509_issuer; in gtls_connect_step3() local
1230 gnutls_x509_crt_init(&x509_cert); in gtls_connect_step3()
1235 gnutls_x509_crt_import(x509_cert, chainp, GNUTLS_X509_FMT_DER); in gtls_connect_step3()
1241 rc = gnutls_x509_crt_check_issuer(x509_cert, x509_issuer); in gtls_connect_step3()
1247 gnutls_x509_crt_deinit(x509_cert); in gtls_connect_step3()
1255 rc = gnutls_x509_crt_get_dn_by_oid(x509_cert, GNUTLS_OID_X520_COMMON_NAME, in gtls_connect_step3()
1270 rc = gnutls_x509_crt_check_hostname(x509_cert, hostname); in gtls_connect_step3()
1296 ret = gnutls_x509_crt_get_subject_alt_name(x509_cert, i, certaddr, in gtls_connect_step3()
1320 gnutls_x509_crt_deinit(x509_cert); in gtls_connect_step3()
1331 certclock = gnutls_x509_crt_get_expiration_time(x509_cert); in gtls_connect_step3()
1336 gnutls_x509_crt_deinit(x509_cert); in gtls_connect_step3()
1346 gnutls_x509_crt_deinit(x509_cert); in gtls_connect_step3()
1356 certclock = gnutls_x509_crt_get_activation_time(x509_cert); in gtls_connect_step3()
1361 gnutls_x509_crt_deinit(x509_cert); in gtls_connect_step3()
1371 gnutls_x509_crt_deinit(x509_cert); in gtls_connect_step3()
1384 result = pkp_pin_peer_pubkey(data, x509_cert, ptr); in gtls_connect_step3()
1387 gnutls_x509_crt_deinit(x509_cert); in gtls_connect_step3()
1404 algo = gnutls_x509_crt_get_pk_algorithm(x509_cert, &bits); in gtls_connect_step3()
1410 gnutls_x509_crt_get_version(x509_cert)); in gtls_connect_step3()
1414 gnutls_x509_crt_get_dn(x509_cert, certbuf, &size); in gtls_connect_step3()
1417 certclock = gnutls_x509_crt_get_activation_time(x509_cert); in gtls_connect_step3()
1420 certclock = gnutls_x509_crt_get_expiration_time(x509_cert); in gtls_connect_step3()
1424 gnutls_x509_crt_get_issuer_dn(x509_cert, certbuf, &size); in gtls_connect_step3()
1428 gnutls_x509_crt_deinit(x509_cert); in gtls_connect_step3()