Lines Matching refs:trusted
250 X509_STORE *ts = ctx->trusted; in cert_acceptable()
373 && (check_cert_path(ctx, ctx->trusted, cert) in check_msg_given_cert()
407 : check_cert_path(ctx, ctx->trusted, cert)) { in check_msg_with_certs()
442 if (ctx->trusted == NULL) { in check_msg_all_certs()
446 STACK_OF(X509) *trusted = X509_STORE_get1_all_certs(ctx->trusted); in check_msg_all_certs()
448 ret = check_msg_with_certs(ctx, trusted, in check_msg_all_certs()
453 OSSL_STACK_OF_X509_free(trusted); in check_msg_all_certs()
602 if (ctx->trusted != NULL) { in OSSL_CMP_validate_msg()
606 if (!ossl_cmp_X509_STORE_add1_certs(ctx->trusted, certs, 0)) in OSSL_CMP_validate_msg()
635 if (ctx->trusted == NULL && ctx->secretValue != NULL) { in OSSL_CMP_validate_msg()
860 if (ctx->trusted != NULL) { in ossl_cmp_msg_check_update()
864 if (!ossl_cmp_X509_STORE_add1_certs(ctx->trusted, certs, 0)) in ossl_cmp_msg_check_update()