Lines Matching defs:store
99 * Attempt to validate certificate and path using any given store with trusted
284 static int check_cert_path(const OSSL_CMP_CTX *ctx, X509_STORE *store,
287 if (OSSL_CMP_validate_cert_path(ctx, store, scrt))
306 X509_STORE *store;
311 if ((store = X509_STORE_new()) == NULL
312 || !ossl_cmp_X509_STORE_add1_certs(store, msg->extraCerts,
316 /* store does not include CRLs */
317 valid = OSSL_CMP_validate_cert_path(ctx, store, scrt);
324 * OSSL_CMP_CERTREQID) can also be validated with the same trusted store
335 valid = OSSL_CMP_validate_cert_path(ctx, store, newcrt);
340 X509_STORE_free(store);
384 /* store successful sender cert for further msgs in transaction */
416 : "trying first normal mode using trust store");
426 : "no trusted store");
431 : "certs in trusted store",
623 ossl_cmp_info(ctx, "no trust store nor pinned server cert available for verifying signature-based CMP message protection");