Lines Matching refs:xcred
34 gnutls_certificate_credentials_t xcred; member
60 gnutls_certificate_credentials_t xcred; member
136 gnutls_certificate_free_credentials(global->xcred); in tls_deinit()
258 global->xcred); in tls_connection_init()
267 if (gnutls_certificate_allocate_credentials(&conn->xcred)) { in tls_connection_init()
281 gnutls_certificate_free_credentials(conn->xcred); in tls_connection_deinit()
330 conn->params_set ? conn->xcred : in tls_connection_shutdown()
331 global->xcred); in tls_connection_shutdown()
477 conn->xcred, params->ca_cert, GNUTLS_X509_FMT_DER); in tls_connection_set_params()
484 conn->xcred, params->ca_cert, in tls_connection_set_params()
508 conn->xcred, &ca, GNUTLS_X509_FMT_DER); in tls_connection_set_params()
514 conn->xcred, &ca, GNUTLS_X509_FMT_PEM); in tls_connection_set_params()
531 conn->xcred, tls_connection_verify_peer); in tls_connection_set_params()
535 conn->xcred, GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5); in tls_connection_set_params()
541 conn->xcred, in tls_connection_set_params()
552 conn->xcred, params->client_cert, params->private_key, in tls_connection_set_params()
557 conn->xcred, params->client_cert, params->private_key, in tls_connection_set_params()
566 conn->xcred, params->client_cert, in tls_connection_set_params()
571 conn->xcred, params->client_cert, in tls_connection_set_params()
594 conn->xcred, params->private_key, GNUTLS_X509_FMT_DER, in tls_connection_set_params()
619 conn->xcred, &cert, &key, GNUTLS_X509_FMT_DER, in tls_connection_set_params()
624 conn->xcred, &cert, &key, GNUTLS_X509_FMT_DER); in tls_connection_set_params()
631 conn->xcred, &cert, &key, GNUTLS_X509_FMT_PEM, in tls_connection_set_params()
636 conn->xcred, &cert, &key, GNUTLS_X509_FMT_PEM); in tls_connection_set_params()
654 conn->xcred, &key, GNUTLS_X509_FMT_DER, in tls_connection_set_params()
688 conn->xcred); in tls_connection_set_params()
750 gnutls_certificate_free_credentials(global->xcred); in tls_global_set_params()
754 ret = gnutls_certificate_allocate_credentials(&global->xcred); in tls_global_set_params()
763 global->xcred, params->ca_cert, GNUTLS_X509_FMT_DER); in tls_global_set_params()
769 global->xcred, params->ca_cert, in tls_global_set_params()
782 global->xcred, in tls_global_set_params()
788 global->xcred, in tls_global_set_params()
796 global->xcred, params->client_cert, in tls_global_set_params()
802 global->xcred, params->client_cert, in tls_global_set_params()
816 global->xcred, params->private_key, in tls_global_set_params()
841 global->xcred, server_ocsp_status_req, global); in tls_global_set_params()
849 gnutls_certificate_free_credentials(global->xcred); in tls_global_set_params()