start of documention of gss_init_sec_context
This commit is contained in:
@@ -44,6 +44,49 @@ _gss_mech_cred_find(gss_cred_id_t cred_handle, gss_OID mech_type)
|
||||
return GSS_C_NO_CREDENTIAL;
|
||||
}
|
||||
|
||||
/**
|
||||
* As the initiator build a context with an acceptor.
|
||||
*
|
||||
* Returns in the major
|
||||
* - GSS_S_COMPLETE - if the context if build
|
||||
* - GSS_S_CONTINUE_NEEDED - if the caller needs to continue another
|
||||
* round of gss_i nit_sec_context
|
||||
* - error code - any other error code
|
||||
*
|
||||
* @param minor_status minor status code.
|
||||
*
|
||||
* @param context_handle a pointer to a context handle, will be
|
||||
* returned as long as there is not an error.
|
||||
*
|
||||
* @param target_name
|
||||
* @param input_mech_type
|
||||
* @param req_flags
|
||||
* @param time_req
|
||||
* @param input_chan_bindings
|
||||
*
|
||||
* @param input_token input token sent from the acceptor, for the
|
||||
* initial packet the buffer of { NULL, 0 } should be used.
|
||||
*
|
||||
* @param actual_mech_type the actual mech used
|
||||
*
|
||||
* @param output_token if there is an output token, regardless of
|
||||
* complete, continue_needed, or error it should be sent to the
|
||||
* acceptor
|
||||
*
|
||||
* @param ret_flags return what flags was negotitated, caller should
|
||||
* check if they are accetable. For example, if
|
||||
* GSS_C_MUTUAL_FLAG was negotiated with the acceptor or not.
|
||||
*
|
||||
* @param time_rec amount of time this context is valid for
|
||||
*
|
||||
* @returns a gss_error code, see gss_display_status() about printing
|
||||
* the error code.
|
||||
*
|
||||
* @ingroup gssapi
|
||||
*/
|
||||
|
||||
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
gss_init_sec_context(OM_uint32 * minor_status,
|
||||
const gss_cred_id_t initiator_cred_handle,
|
||||
|
Reference in New Issue
Block a user