globus_gss_assist  10.21
Functions
Credential Management

Acquire Credential. More...

Functions

OM_uint32 globus_gss_assist_acquire_cred (OM_uint32 *minor_status, gss_cred_usage_t cred_usage, gss_cred_id_t *output_cred_handle)
 
OM_uint32 globus_gss_assist_acquire_cred_ext (OM_uint32 *minor_status, char *desired_name_char, OM_uint32 time_req, const gss_OID_set desired_mechs, gss_cred_usage_t cred_usage, gss_cred_id_t *output_cred_handle, gss_OID_set *actual_mechs, OM_uint32 *time_rec)
 

Detailed Description

Acquire Credential.

The functions in this section are used to acquire security credentials.

Function Documentation

◆ globus_gss_assist_acquire_cred()

OM_uint32 globus_gss_assist_acquire_cred ( OM_uint32 *  minor_status,
gss_cred_usage_t  cred_usage,
gss_cred_id_t *  output_cred_handle 
)

Called once at the start of the process, to obtain the credentials the process is running under. The

Parameters
minor_statuspointer for return code
cred_usageGSS_C_INITIATE, GSS_C_ACCEPT, or GSS_C_BOTH
output_cred_handlePointer to the returned handle. This needs to be passed to many gss routines.
Returns
GSS_S_COMPLETE on success Other GSSAPI return codes

◆ globus_gss_assist_acquire_cred_ext()

OM_uint32 globus_gss_assist_acquire_cred_ext ( OM_uint32 *  minor_status,
char *  desired_name_char,
OM_uint32  time_req,
const gss_OID_set  desired_mechs,
gss_cred_usage_t  cred_usage,
gss_cred_id_t *  output_cred_handle,
gss_OID_set *  actual_mechs,
OM_uint32 *  time_rec 
)

Called once at the start of the process, to obtain the credentials the process is running under. All the parameters of the gss_acquire_cred(), except the desired_name is a string of the form: [type:]name. This will be imported with the type.

Returns
GSS_S_COMPLETE on success Other GSSPI return codes
See also
globus_gss_acquire_cred