/opensolaris-onvv-gate/usr/src/common/openssl/crypto/x509/ |
H A D | x509_trs.c | 68 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 D | x509_vpm.c | 76 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(¶m->trust, trust); 313 0, /* trust */ 323 X509_TRUST_EMAIL, /* trust */ 333 X509_TRUST_SSL_CLIENT, /* trust */ 343 X509_TRUST_SSL_SERVER, /* trust */
|
H A D | x509_vfy.c | 213 * 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 D | x509_vfy.h | 171 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 D | x509_lu.c | 556 int X509_STORE_set_trust(X509_STORE *ctx, int trust) argument 558 return X509_VERIFY_PARAM_set_trust(ctx->param, trust);
|
H A D | x509.h | 265 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 D | t_x509a.c | 73 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 D | x_x509a.c | 75 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 D | nlspath_checks.c | 79 * 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 D | catopen.c | 287 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 D | gencert.c | 414 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 D | Carp.pm | 65 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 D | x509.c | 120 " -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 D | v3_purp.c | 170 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 D | x509v3.h | 408 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 D | exec.c | 133 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 D | ssl_lib.c | 303 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 D | ssl.h | 746 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);
|