Lines Matching refs:trust
295 * trust store behind it.
297 * Static policy: We want to make use of a trust store / vhost from the policy and add to its
311 if (!pol->trust.store) {
314 /* corner case... there's no trust store used */
329 v = lws_get_vhost_by_name(context, pol->trust.store->name);
336 i.vhost_name = pol->trust.store->name;
339 i.client_ssl_ca_mem = pol->trust.store->ssx509[0]->ca_der;
341 pol->trust.store->ssx509[0]->ca_der_len;
344 lwsl_info("%s: %s trust store initial '%s'\n", __func__,
345 i.vhost_name, pol->trust.store->ssx509[0]->vhost_name);
355 for (n = 1; v && n < pol->trust.store->count; n++) {
356 lwsl_info("%s: add '%s' to trust store\n", __func__,
357 pol->trust.store->ssx509[n]->vhost_name);
360 pol->trust.store->ssx509[n]->ca_der,
361 pol->trust.store->ssx509[n]->ca_der_len)) {
386 if (pol->trust.store)
387 name = pol->trust.store->name;
465 * ...but when we did the trust stores, we created vhosts for
513 /* Create vhosts for each type of trust store */
520 * using trust store name if it's a client connection that doesn't