Searched refs:union_cred (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/libgss/
H A Dg_rel_cred.c46 gss_union_cred_t union_cred; local
58 * Loop through the union_cred struct, selecting the approprate
60 * release all of the storage taken by the union_cred struct.
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
[all...]
H A Dg_inquire_cred.c53 gss_union_cred_t union_cred; local
122 union_cred = (gss_union_cred_t)cred_handle;
125 * get the information out of the union_cred structure that was
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
225 gss_union_cred_t union_cred; local
[all...]
H A Dg_acquire_cred_with_pw.c246 gss_union_cred_t union_cred = NULL, 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) !=
309 free(union_cred);
332 if (union_cred->auxinfo.creation_time == 0) {
333 union_cred->auxinfo.creation_time = time(NULL);
334 union_cred
[all...]
H A Dg_acquire_cred.c339 gss_union_cred_t union_cred, new_union_cred; local
367 union_cred = malloc(sizeof (gss_union_cred_desc));
368 if (union_cred == NULL)
371 (void) memset(union_cred, 0, sizeof (gss_union_cred_desc));
374 union_cred = (gss_union_cred_t)input_cred_handle;
376 if (__gss_get_mechanism_cred(union_cred, desired_mech) !=
388 &union_cred->auxinfo.name,
389 union_cred->auxinfo.name_type,
439 if (union_cred->auxinfo.creation_time == 0) {
440 union_cred
[all...]
H A Dg_store_cred.c98 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);
153 for (i = 0; i < union_cred->count; i++) {
155 dmech = &union_cred->mechs_array[i];
163 mech_cred = __gss_get_mechanism_cred(union_cred, dmech);
H A Dg_glue.c624 gssint_get_mechanism_cred(union_cred, mech_type)
625 gss_union_cred_t union_cred;
630 if (union_cred == (gss_union_cred_t)GSS_C_NO_CREDENTIAL)
641 return ((gss_cred_id_t)union_cred);
644 for (i = 0; i < union_cred->count; i++) {
645 if (g_OID_equal(mech_type, &union_cred->mechs_array[i]))
646 return (union_cred->cred_array[i]);
650 &union_cred->mechs_array[i])) {
654 candidate_cred = (gss_union_cred_t)union_cred->cred_array[i];
H A Dg_init_sec_context.c105 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 Dg_accept_sec_context.c115 gss_union_cred_t union_cred; local
182 union_cred = (gss_union_cred_t)verifier_cred_handle;
183 input_cred_handle = __gss_get_mechanism_cred(union_cred,
265 * a proper union_cred and just return it. Don't

Completed in 26 milliseconds