Lines Matching defs:hx509ctx

84 	      hx509_context hx509ctx,
208 pk_copy_error(context, context->hx509ctx, ret,
213 ret = hx509_certs_find(context->hx509ctx, id->certs, q, cert);
216 pk_copy_error(context, context->hx509ctx, ret,
236 ret = hx509_cms_create_signed_1(context->hx509ctx,
248 pk_copy_error(context, context->hx509ctx, ret,
354 hx509_context hx509ctx,
358 return hx509_certs_iter_f(hx509ctx, certs, cert2epi, ids);
611 ret = hx509_crypto_available(context->hx509ctx, HX509_SELECT_ALL,
772 ret = build_edi(context, context->hx509ctx,
909 ret = hx509_cms_verify_signed(context->hx509ctx,
920 pk_copy_error(context, context->hx509ctx, ret,
932 ret = hx509_get_one_cert(context->hx509ctx, signer_certs, &(*signer)->cert);
934 pk_copy_error(context, context->hx509ctx, ret,
1076 ret = hx509_cert_check_eku(context->hx509ctx, host->cert,
1088 ret = hx509_cert_find_subjectAltName_otherName(context->hx509ctx,
1138 ret = hx509_verify_hostname(context->hx509ctx, host->cert,
1181 ret = hx509_cms_unenvelope(context->hx509ctx,
1191 pk_copy_error(context, context->hx509ctx, ret,
1779 ret = hx509_query_alloc(context->hx509ctx, &q);
1781 pk_copy_error(context, context->hx509ctx, ret,
1794 hx509_query_free(context->hx509ctx, q);
1867 ret = hx509_lock_init(context->hx509ctx, &lock);
1869 pk_copy_error(context, context->hx509ctx, ret, "Failed init lock");
1888 ret = hx509_certs_init(context->hx509ctx, user_id, 0, lock, &id->certs);
1891 pk_copy_error(context, context->hx509ctx, ret,
1899 ret = hx509_certs_init(context->hx509ctx, anchor_id, 0, NULL, &id->anchors);
1901 pk_copy_error(context, context->hx509ctx, ret,
1906 ret = hx509_certs_init(context->hx509ctx, "MEMORY:pkinit-cert-chain",
1909 pk_copy_error(context, context->hx509ctx, ret,
1915 ret = hx509_certs_append(context->hx509ctx, id->certpool,
1918 pk_copy_error(context, context->hx509ctx, ret,
1927 ret = hx509_revoke_init(context->hx509ctx, &id->revokectx);
1929 pk_copy_error(context, context->hx509ctx, ret,
1935 ret = hx509_revoke_add_crl(context->hx509ctx,
1939 pk_copy_error(context, context->hx509ctx, ret,
1946 hx509_context_set_missing_revoke(context->hx509ctx, 1);
1948 ret = hx509_verify_init_ctx(context->hx509ctx, &id->verify_ctx);
1950 pk_copy_error(context, context->hx509ctx, ret,
1978 hx509_context hx509ctx,
1995 s = hx509_get_error_string(hx509ctx, hxret);
2436 hx509_context hx509ctx = context->hx509ctx;
2447 ret = hx509_cert_get_SPKI_AlgorithmIdentifier(hx509ctx, cert, &alg);
2570 ret = hx509_certs_init(context->hx509ctx, user_id, 0, NULL, &certs);
2572 pk_copy_error(context, context->hx509ctx, ret,
2577 ret = hx509_query_alloc(context->hx509ctx, &q);
2589 ret = hx509_certs_filter(context->hx509ctx, certs, q, &result);
2590 hx509_query_free(context->hx509ctx, q);
2593 pk_copy_error(context, context->hx509ctx, ret,
2598 ret = hx509_get_one_cert(context->hx509ctx, result, &cert);
2601 pk_copy_error(context, context->hx509ctx, ret,
2606 ret = get_ms_san(context->hx509ctx, cert, &name);
2608 pk_copy_error(context, context->hx509ctx, ret,
2621 ret = hx509_certs_init(context->hx509ctx, "MEMORY:", 0, NULL, res);
2625 ret = hx509_certs_add(context->hx509ctx, *res, cert);