Searched refs:union_cred (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_acquire_cred_with_pw.c | 246 gss_union_cred_t union_cred, new_union_cred; local 286 union_cred = malloc(sizeof (gss_union_cred_desc)); 287 if (union_cred == NULL) 290 (void) memset(union_cred, 0, sizeof (gss_union_cred_desc)); 293 union_cred = (gss_union_cred_t)input_cred_handle; 294 if (__gss_get_mechanism_cred(union_cred, desired_mech) != 329 if (union_cred->auxinfo.creation_time == 0) { 330 union_cred->auxinfo.creation_time = time(NULL); 331 union_cred->auxinfo.time_rec = time_rec; 332 union_cred->auxinfo.cred_usage = cred_usage; [all …]
|
H A D | g_rel_cred.c | 46 gss_union_cred_t union_cred; local 63 union_cred = (gss_union_cred_t)*cred_handle; 64 if (union_cred == (gss_union_cred_t)GSS_C_NO_CREDENTIAL) 67 if (GSSINT_CHK_LOOP(union_cred)) 74 for (j = 0; j < union_cred->count; j++) { 76 mech = __gss_get_mechanism(&union_cred->mechs_array[j]); 78 if (union_cred->mechs_array[j].elements) 79 free(union_cred->mechs_array[j].elements); 84 &union_cred->cred_array[j]); 96 (void) gss_release_buffer(minor_status, &union_cred->auxinfo.name); [all …]
|
H A D | g_acquire_cred.c | 337 gss_union_cred_t union_cred, new_union_cred; local 365 union_cred = malloc(sizeof (gss_union_cred_desc)); 366 if (union_cred == NULL) 369 (void) memset(union_cred, 0, sizeof (gss_union_cred_desc)); 372 union_cred = (gss_union_cred_t)input_cred_handle; 374 if (__gss_get_mechanism_cred(union_cred, desired_mech) != 386 &union_cred->auxinfo.name, 387 union_cred->auxinfo.name_type, 437 if (union_cred->auxinfo.creation_time == 0) { 438 union_cred->auxinfo.creation_time = time(NULL); [all …]
|
H A D | g_inquire_cred.c | 53 gss_union_cred_t union_cred; local 122 union_cred = (gss_union_cred_t)cred_handle; 130 *cred_usage = union_cred->auxinfo.cred_usage; 133 elapsed_time = time(0) - union_cred->auxinfo.creation_time; 134 *lifetime = union_cred->auxinfo.time_rec < elapsed_time ? 0 : 135 union_cred->auxinfo.time_rec - elapsed_time; 150 if (union_cred->auxinfo.name.length == 0) { 153 &union_cred->auxinfo.name, 154 union_cred->auxinfo.name_type, 157 &union_cred->mechs_array[0], [all …]
|
H A D | g_store_cred.c | 98 gss_union_cred_t union_cred; local 121 union_cred = (gss_union_cred_t)input_cred_handle; 132 mech_cred = __gss_get_mechanism_cred(union_cred, desired_mech); 154 for (i = 0; i < union_cred->count; i++) { 156 dmech = &union_cred->mechs_array[i]; 164 mech_cred = __gss_get_mechanism_cred(union_cred, dmech);
|
H A D | g_glue.c | 630 gssint_get_mechanism_cred(union_cred, mech_type) in gssint_get_mechanism_cred() argument 631 gss_union_cred_t union_cred; in gssint_get_mechanism_cred() 636 if (union_cred == (gss_union_cred_t) GSS_C_NO_CREDENTIAL) 647 return (gss_cred_id_t)union_cred; 650 for (i=0; i < union_cred->count; i++) { 651 if (g_OID_equal(mech_type, &union_cred->mechs_array[i])) 652 return union_cred->cred_array[i]; 655 if (g_OID_equal(&gss_spnego_mechanism_oid_desc, &union_cred->mechs_array[i])) { 659 candidate_cred = (gss_union_cred_t)union_cred->cred_array[i];
|
H A D | g_init_sec_context.c | 105 gss_union_cred_t union_cred; local 184 union_cred = (gss_union_cred_t)claimant_cred_handle; 185 input_cred_handle = __gss_get_mechanism_cred(union_cred, mech_type);
|
H A D | g_accept_sec_context.c | 114 gss_union_cred_t union_cred; local 180 union_cred = (gss_union_cred_t)verifier_cred_handle; 181 input_cred_handle = __gss_get_mechanism_cred(union_cred,
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | krb5_gss_glue.c | 1253 gssint_get_mechanism_cred(union_cred, mech_type) in gssint_get_mechanism_cred() argument 1254 gss_union_cred_t union_cred; in gssint_get_mechanism_cred() 1259 if (union_cred == (gss_union_cred_t) GSS_C_NO_CREDENTIAL) 1262 for (i=0; i < union_cred->count; i++) { 1263 if (g_OID_equal(mech_type, &union_cred->mechs_array[i])) 1264 return union_cred->cred_array[i];
|