Searched refs:trust (Results 1 - 18 of 18) sorted by relevance

/opensolaris-onvv-gate/usr/src/common/openssl/crypto/x509/
H A Dx509_trs.c68 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags);
69 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags);
70 static int trust_compat(X509_TRUST *trust, X509 *x, int flags);
75 /* WARNING: the following table should be kept in order of trust
76 * and without any gaps so we can just subtract the minimum trust
99 return (*a)->trust - (*b)->trust;
102 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int)
106 default_trust = trust;
141 tmp.trust
148 X509_TRUST_set(int *t, int trust) argument
243 trust_1oidany(X509_TRUST *trust, X509 *x, int flags) argument
253 trust_1oid(X509_TRUST *trust, X509 *x, int flags) argument
259 trust_compat(X509_TRUST *trust, X509 *x, int flags) argument
[all...]
H A Dx509_vpm.c76 param->trust = 0;
172 x509_verify_param_copy(trust, 0);
230 int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust) argument
232 return X509_TRUST_set(&param->trust, trust);
313 0, /* trust */
323 X509_TRUST_EMAIL, /* trust */
333 X509_TRUST_SSL_CLIENT, /* trust */
343 X509_TRUST_SSL_SERVER, /* trust */
H A Dx509_vfy.c213 * so we get any trust settings.
292 /* The chain extensions are OK: check trust */
294 if (param->trust > 0) ok = check_trust(ctx);
539 ok = X509_check_trust(x, ctx->param->trust, 0);
1255 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust) argument
1257 return X509_STORE_CTX_purpose_inherit(ctx, 0, 0, trust);
1260 /* This function is used to set the X509_STORE_CTX purpose and trust
1262 * own trust and purpose values which (if set) will be inherited by
1264 * purpose in mind which should then be used to set the trust value.
1266 * purpose and trust setting
1270 X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose, int purpose, int trust) argument
[all...]
H A Dx509_vfy.h171 int trust; /* trust setting to check */ member in struct:X509_VERIFY_PARAM_st
388 int X509_STORE_set_trust(X509_STORE *ctx, int trust);
455 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
457 int purpose, int trust);
485 int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust);
H A Dx509_lu.c556 int X509_STORE_set_trust(X509_STORE *ctx, int trust) argument
558 return X509_VERIFY_PARAM_set_trust(ctx->param, trust);
H A Dx509.h265 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */ member in struct:x509_cert_aux_st
300 /* This is used for a table of trust checking functions */
303 int trust; member in struct:x509_trust_st
318 /* standard trust ids */
942 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int);
943 int X509_TRUST_set(int *t, int trust);
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/asn1/
H A Dt_x509a.c73 if(aux->trust) {
77 for(i = 0; i < sk_ASN1_OBJECT_num(aux->trust); i++) {
81 sk_ASN1_OBJECT_value(aux->trust, i), 0);
H A Dx_x509a.c75 ASN1_SEQUENCE_OF_OPT(X509_CERT_AUX, trust, ASN1_OBJECT),
143 if(!aux->trust
144 && !(aux->trust = sk_ASN1_OBJECT_new_null())) return 0;
145 return sk_ASN1_OBJECT_push(aux->trust, objtmp);
161 if(x->aux && x->aux->trust) {
162 sk_ASN1_OBJECT_pop_free(x->aux->trust, ASN1_OBJECT_free);
163 x->aux->trust = NULL;
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/
H A Dnlspath_checks.c79 * The trust return value contains an indication of
85 nls_safe_open(const char *path, struct stat64 *statbuf, int *trust, int safe) argument
97 * set trust_path and trust the file as an initial value.
99 trust_path = *trust = safe || nlspath_safe;
115 * Don't trust files writable by other or writable
117 * Don't trust these files even if the path is correct.
158 * has been set, trust the file as long as it belongs to
161 if (!*trust && systemdir) {
162 *trust = 1;
174 if (*trust
[all...]
H A Dcatopen.c287 int trust; local
289 fd = nls_safe_open(name, &statbuf, &trust, safe);
317 tmp_catd->__trust = trust;
/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dgencert.c414 int keylen, char *trust,
546 if (trust != NULL) {
548 trust, strlen(trust));
581 char *trust = NULL; local
612 "r:(trust)L:(lifetime)l:(label)c:(outcert)e:(eku)"
679 if (trust)
681 trust = optarg_av;
929 trust, ltime, &serial, kubits, kucrit, &tokencred,
408 gencert_nss(KMF_HANDLE_T kmfhandle, char *token, char *subject, char *altname, KMF_GENERALNAMECHOICES alttype, int altcrit, char *nickname, char *dir, char *prefix, KMF_KEY_ALG keyAlg, KMF_ALGORITHM_INDEX sigAlg, int keylen, char *trust, uint32_t ltime, KMF_BIGINT *serial, uint16_t kubits, int kucrit, KMF_CREDENTIAL *tokencred, EKU_LIST *ekulist, KMF_OID *curveoid) argument
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DCarp.pm65 The trust in item 2 is transitive. If A trusts B, and B
67 with @CARP_NOT, then this trust relationship is identical to,
/opensolaris-onvv-gate/usr/src/common/openssl/apps/
H A Dx509.c120 " -addtrust arg - trust certificate for a given purpose\n",
173 STACK_OF(ASN1_OBJECT) *trust = NULL, *reject = NULL;
334 "Invalid trust object value %s\n", *argv);
337 if (!trust) trust = sk_ASN1_OBJECT_new_null();
338 sk_ASN1_OBJECT_push(trust, objtmp);
677 if (trust)
679 for (i = 0; i < sk_ASN1_OBJECT_num(trust); i++)
681 objtmp = sk_ASN1_OBJECT_value(trust, i);
1073 sk_ASN1_OBJECT_pop_free(trust, ASN1_OBJECT_fre
[all...]
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/x509v3/
H A Dv3_purp.c170 int X509_PURPOSE_add(int id, int trust, int flags, argument
178 /* This will always be set for application modified trust entries */
209 ptmp->trust = trust;
265 return xp->trust;
H A Dx509v3.h408 int trust; /* Default trust ID */ member in struct:x509_purpose_st
608 int X509_PURPOSE_add(int id, int trust, int flags,
/opensolaris-onvv-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dexec.c133 enum trust {TRUSTED, UNTRUSTED}; enum
135 static char *arg_string(enum trust type, char *fmt, ...) __PRINTFLIKE(2);
139 arg_string(enum trust type, char *fmt, ...)
/opensolaris-onvv-gate/usr/src/common/openssl/ssl/
H A Dssl_lib.c303 s->trust = ctx->trust;
426 int SSL_CTX_set_trust(SSL_CTX *s, int trust) argument
428 return X509_VERIFY_PARAM_set_trust(s->param, trust);
431 int SSL_set_trust(SSL *s, int trust) argument
433 return X509_VERIFY_PARAM_set_trust(s->param, trust);
H A Dssl.h746 int trust; /* Trust setting */
895 int trust; /* Trust setting */
1356 int SSL_CTX_set_trust(SSL_CTX *s, int trust);
1357 int SSL_set_trust(SSL *s, int trust);

Completed in 132 milliseconds