Home | History | Annotate | Download | only in x509

Lines Matching full:trust

266 				 * so we get any trust settings.
349 /* The chain extensions are OK: check trust */
351 if (param->trust > 0) ok = check_trust(ctx);
619 * chain including trust anchor. Trust anchor not strictly
655 ok = X509_check_trust(x, ctx->param->trust, 0);
1143 * end in the same trust anchor, though some discussions remain...
1914 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust)
1916 return X509_STORE_CTX_purpose_inherit(ctx, 0, 0, trust);
1919 /* This function is used to set the X509_STORE_CTX purpose and trust
1921 * own trust and purpose values which (if set) will be inherited by
1923 * purpose in mind which should then be used to set the trust value.
1925 * purpose and trust settings which the application can set: if they
1930 int purpose, int trust)
1947 if (ptmp->trust == X509_TRUST_DEFAULT)
1958 /* If trust not set then get from purpose default */
1959 if (!trust) trust = ptmp->trust;
1961 if (trust)
1963 idx = X509_TRUST_get_by_id(trust);
1973 if (trust && !ctx->param->trust) ctx->param->trust = trust;