Lines Matching defs:store

111  * Given a certificate, try and find an exact match in the store.
859 * for a direct trust store match.
1327 if (!X509_STORE_CTX_init(&crl_ctx, ctx->store, x, ctx->untrusted))
1501 /* Lookup CRLs from store */
2323 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509,
2332 ctx->store = store;
2355 /* store->cleanup is always 0 in OpenSSL, if set must be idempotent */
2356 if (store != NULL)
2357 ctx->cleanup = store->cleanup;
2361 if (store != NULL && store->check_issued != NULL)
2362 ctx->check_issued = store->check_issued;
2366 if (store != NULL && store->get_issuer != NULL)
2367 ctx->get_issuer = store->get_issuer;
2371 if (store != NULL && store->verify_cb != NULL)
2372 ctx->verify_cb = store->verify_cb;
2376 if (store != NULL && store->verify != NULL)
2377 ctx->verify = store->verify;
2381 if (store != NULL && store->check_revocation != NULL)
2382 ctx->check_revocation = store->check_revocation;
2386 if (store != NULL && store->get_crl != NULL)
2387 ctx->get_crl = store->get_crl;
2391 if (store != NULL && store->check_crl != NULL)
2392 ctx->check_crl = store->check_crl;
2396 if (store != NULL && store->cert_crl != NULL)
2397 ctx->cert_crl = store->cert_crl;
2401 if (store != NULL && store->check_policy != NULL)
2402 ctx->check_policy = store->check_policy;
2406 if (store != NULL && store->lookup_certs != NULL)
2407 ctx->lookup_certs = store->lookup_certs;
2411 if (store != NULL && store->lookup_crls != NULL)
2412 ctx->lookup_crls = store->lookup_crls;
2423 if (store == NULL)
2425 else if (X509_VERIFY_PARAM_inherit(ctx->param, store->param) == 0)
2450 * On error clean up allocated storage, if the store context was not
2707 /* The trust store is not applicable with DANE-TA(2) */
3009 #define S_DOTRUSTED (1 << 1) /* Search trusted store */
3068 * Look in the trust store if enabled for first lookup, or we've run
3122 * be able to complete a valid chain via the trust store. Note
3123 * that despite the current trust store match we might still
3131 * certificate among the ones from the trust store.
3192 * "the wire" from CAs from the trust store. In particular, the
3242 * there and start looking only in the trust store if enabled.
3330 X509_STORE *store, int with_self_signed,
3333 int finish_chain = store != NULL;
3345 if (!X509_STORE_CTX_init(ctx, store, target, finish_chain ? certs : NULL))
3358 /* result list to store the up_ref'ed certificates */