3.6 Context-Level Routines
GSS-API Context-Level Routines
Routine Function
------- --------
gss_init_sec_context Initiate a security context with
a peer application.
gss_accept_sec_context Accept a security context
initiated by a peer application.
gss_delete_sec_context Discard a security context.
gss_process_context_token Process a token on a security
context from a peer application.
gss_context_time Determine for how long a context
will remain valid.
gss_inquire_context Obtain information about a
security context.
gss_wrap_size_limit Determine token-size limit for
gss_wrap on a context.
gss_export_sec_context Transfer a security context to
another process.
gss_import_sec_context Import a transferred context.
gss_init_sec_context
- Function: OM_uint32 gss_init_sec_context (OM_uint32 * minor_status, const gss_cred_id_t initiator_cred_handle, gss_ctx_id_t * context_handle, const gss_name_t target_name, const gss_OID mech_type, OM_uint32 req_flags, OM_uint32 time_req, const gss_channel_bindings_t input_chan_bindings, const gss_buffer_t input_token, gss_OID * actual_mech_type, gss_buffer_t output_token, OM_uint32 * ret_flags, OM_uint32 * time_rec)
minor_status:
initiator_cred_handle:
context_handle:
target_name:
mech_type:
req_flags:
time_req:
input_chan_bindings:
input_token:
actual_mech_type:
output_token:
ret_flags:
time_rec:
gss_accept_sec_context
- Function: OM_uint32 gss_accept_sec_context (OM_uint32 * minor_status, gss_ctx_id_t * context_handle, const gss_cred_id_t acceptor_cred_handle, const gss_buffer_t input_token_buffer, const gss_channel_bindings_t input_chan_bindings, gss_name_t * src_name, gss_OID * mech_type, gss_buffer_t output_token, OM_uint32 * ret_flags, OM_uint32 * time_rec, gss_cred_id_t * delegated_cred_handle)
minor_status:
context_handle:
acceptor_cred_handle:
input_token_buffer:
input_chan_bindings:
src_name:
mech_type:
output_token:
ret_flags:
time_rec:
delegated_cred_handle:
gss_delete_sec_context
- Function: OM_uint32 gss_delete_sec_context (OM_uint32 * minor_status, gss_ctx_id_t * context_handle, gss_buffer_t output_token)
minor_status:
context_handle:
output_token:
gss_process_context_token
- Function: OM_uint32 gss_process_context_token (OM_uint32 * minor_status, const gss_ctx_id_t context_handle, const gss_buffer_t token_buffer)
minor_status:
context_handle:
token_buffer:
gss_context_time
- Function: OM_uint32 gss_context_time (OM_uint32 * minor_status, const gss_ctx_id_t context_handle, OM_uint32 * time_rec)
minor_status:
context_handle:
time_rec:
gss_inquire_context
- Function: OM_uint32 gss_inquire_context (OM_uint32 * minor_status, const gss_ctx_id_t context_handle, gss_name_t * src_name, gss_name_t * targ_name, OM_uint32 * lifetime_rec, gss_OID * mech_type, OM_uint32 * ctx_flags, int * locally_initiated, int * open)
minor_status:
context_handle:
src_name:
targ_name:
lifetime_rec:
mech_type:
ctx_flags:
locally_initiated:
open:
gss_wrap_size_limit
- Function: OM_uint32 gss_wrap_size_limit (OM_uint32 * minor_status, const gss_ctx_id_t context_handle, int conf_req_flag, gss_qop_t qop_req, OM_uint32 req_output_size, OM_uint32 * max_input_size)
minor_status:
context_handle:
conf_req_flag:
qop_req:
req_output_size:
max_input_size:
gss_export_sec_context
- Function: OM_uint32 gss_export_sec_context (OM_uint32 * minor_status, gss_ctx_id_t * context_handle, gss_buffer_t interprocess_token)
minor_status:
context_handle:
interprocess_token:
gss_import_sec_context
- Function: OM_uint32 gss_import_sec_context (OM_uint32 * minor_status, const gss_buffer_t interprocess_token, gss_ctx_id_t * context_handle)
minor_status:
interprocess_token:
context_handle: