Lines Matching defs:context
67 auto& context = TLSContext::From(ssl);
69 auto requested = context.options().alpn;
95 auto context = crypto::SecureContext::Create(env);
97 auto& ctx = context->ctx();
102 SSL_CTX_set_app_data(ctx.get(), context);
132 SSL_CTX_set_app_data(ctx.get(), context);
165 context->SetCACert(bio);
171 context->SetRootCerts();
190 auto ret = context->AddCert(env, std::move(bio));
204 return context->UseKey(env, key);
220 return context->SetCRL(env, bio);
231 return BaseObjectPtr<crypto::SecureContext>(context);
268 if (!object->Get(env->context(), name).ToLocal(&value)) return false;
273 auto context = env->context();
278 if (!values->Get(context, n).ToLocal(&item)) {
334 TLSContext* context = ContainerOf(&TLSContext::conn_ref_, ref);
335 return *context;
340 TLSContext* context = ContainerOf(&TLSContext::conn_ref_, ref);
341 return *context;
551 TLSContext* context = ContainerOf(&TLSContext::conn_ref_, ref);
552 return *context->session_;