globus_gss_assist_context(3) | globus_gss_assist | globus_gss_assist_context(3) |
globus_gss_assist_context - Security Context Management
- Security Context Creation and Use.
OM_uint32 globus_gss_assist_accept_sec_context (OM_uint32
*minor_status, gss_ctx_id_t *context_handle, const gss_cred_id_t
cred_handle, char **src_name_char, OM_uint32 *ret_flags, int
*user_to_user_flag, int *token_status, gss_cred_id_t *delegated_cred_handle,
int(*gss_assist_get_token)(void *, void **, size_t *), void
*gss_assist_get_context, int(*gss_assist_send_token)(void *, void *,
size_t), void *gss_assist_send_context)
Accept a Security Context. OM_uint32
globus_gss_assist_accept_sec_context_async (OM_uint32 *minor_status,
gss_ctx_id_t *context_handle, const gss_cred_id_t cred_handle, char
**src_name_char, OM_uint32 *ret_flags, int *user_to_user_flag, void
*input_buffer, size_t input_buffer_len, void **output_bufferp, size_t
*output_buffer_lenp, gss_cred_id_t *delegated_cred_handle)
Accept a Security Context Without Blocking. OM_uint32
globus_gss_assist_export_sec_context (OM_uint32 *minor_status,
gss_ctx_id_t *context_handle, int *token_status, int fdp, FILE *fperr)
OM_uint32 globus_gss_assist_import_sec_context (OM_uint32
*minor_status, gss_ctx_id_t *context_handle, int *token_status, int fdp,
FILE *fperr)
OM_uint32 globus_gss_assist_init_sec_context (OM_uint32 *minor_status,
const gss_cred_id_t cred_handle, gss_ctx_id_t *context_handle, char
*target_name_char, OM_uint32 req_flags, OM_uint32 *ret_flags, int
*token_status, int(*gss_assist_get_token)(void *, void **, size_t *), void
*gss_assist_get_context, int(*gss_assist_send_token)(void *, void *,
size_t), void *gss_assist_send_context)
OM_uint32 globus_gss_assist_init_sec_context_async (OM_uint32
*minor_status, const gss_cred_id_t cred_handle, gss_ctx_id_t
*context_handle, char *target_name_char, OM_uint32 req_flags, OM_uint32
*ret_flags, void *input_buffer, size_t input_buffer_len, void
**output_bufferp, size_t *output_buffer_lenp)
OM_uint32 globus_gss_assist_will_handle_restrictions (OM_uint32
*minor_status, gss_ctx_id_t *context_handle)
OM_uint32 globus_gss_assist_get_unwrap (OM_uint32 *minor_status, const
gss_ctx_id_t context_handle, char **data, size_t *length, int *token_status,
int(*gss_assist_get_token)(void *, void **, size_t *), void
*gss_assist_get_context, FILE *fperr)
Get Unwrap.
Security Context Creation and Use.
The functions in this section are used to create security contexts and send and receive messages sent over them. They use the functions provided by Token Transport or user-supplied functions to communicate security tokens over the context, looping over continue results from the GSSAPI as needed.
Accept a Security Context. This routine accepts a GSSAPI security context and is called by the gram_gatekeeper. It isolates the GSSAPI from the rest of the gram code.
Initialize a GSSAPI security connection. Used by the server. The context_handle is returned, and there is one for each connection. This routine will take cake of the looping and token processing, using the supplied get_token and send_token routines.
Parameters
Returns
Accept a Security Context Without Blocking. This is an asynchronous version of the globus_gss_assist_accept_sec_context() function. Instead of looping itself it passes in and out the read and written buffers and the calling application is responsible for doing the I/O directly.
Parameters
Returns
GSS_S_CONTINUE_NEEDED when *output_bufferp should be sent to the peer and a new input_buffer read and this function called again.
Other GSSAPI errors on failure.
Export the security context from a file
Parameters
Returns
Get Unwrap. Gets a token using the specific tokenizing functions, and performs the GSS unwrap of that token
See also
Parameters
See also
Parameters
Returns
Import the security context from a file
Parameters
Returns
Initialize a GSSAPI security connection. Used by the client. The context_handle is returned, and there is one for each connection. This routine will take cake of the looping and token processing, using the supplied get_token and send_token routines.
Parameters
The following are particular to this assist routine:
Parameters
Returns
This is an asynchronous version of the globus_gss_assist_init_sec_context() function. Instead of looping itself it passes in and out the read and written buffers and the calling application is responsible for doing the I/O directly.
Parameters
Returns
GSS_S_CONTINUE_NEEDED when *output_bufferp should be sent to the peer and a new input_buffer read and this function called again.
Other gss errors on failure.
Sets the context to handle restrictions
Parameters
Returns
Generated automatically by Doxygen for globus_gss_assist from the source code.
Tue Jul 5 2022 | Version 12.7 |