table of contents
globus_gss_assist_tokens(3) | globus_gss_assist | globus_gss_assist_tokens(3) |
NAME¶
globus_gss_assist_tokens - Token Transport
- Send and Receive Security Tokens.
SYNOPSIS¶
Functions¶
int globus_gss_assist_token_get_fd (void *arg, void **bufp,
size_t *sizep)
Get token from a FILE *. int globus_gss_assist_token_send_fd (void
*arg, void *buf, size_t size)
Send token via a FILE *. int
globus_gss_assist_token_send_fd_without_length (void *arg, void *buf,
size_t size)
Send token to a FILE *. int globus_gss_assist_token_send_fd_ex (void
*exp, void *buf, size_t size)
Send a token to a FILE *.
Detailed Description¶
Send and Receive Security Tokens.
The functions in this section are used to send and receive GSSAPI tokens using various methods. These are used by the Security Context Management functions.
Function Documentation¶
int globus_gss_assist_token_get_fd (void * arg, void ** bufp, size_t * sizep)¶
Get token from a FILE *. Use a open FILE handle to get a token. This function provides parameter types that allow it to be passed to globus_gss_assist_init_sec_context and globus_gss_assist_accept_sec_context
Parameters
bufp the resulting token
sizep the size (number of bytes) read into bufp
Returns
int globus_gss_assist_token_send_fd (void * arg, void * buf, size_t size)¶
Send token via a FILE *. Write a token to the open FILE handle. Will write it with a 4 byte length. This function provides parameter types that allow it to be passed to globus_gss_assist_init_sec_context and globus_gss_assist_accept_sec_context
Parameters
buf the token
size the size of the token in bytes
Returns
int globus_gss_assist_token_send_fd_ex (void * exp, void * buf, size_t size)¶
Send a token to a FILE *. Write a token to the open FILE *. This function will look at the flag to determine if the length field needs to be written.
Parameters
buf the token buffer to send
size size of the token buffer
Returns
int globus_gss_assist_token_send_fd_without_length (void * arg, void * buf, size_t size)¶
Send token to a FILE *. Write a token to the open FILE. This function will write it without a length, so that the FILE stream only contains GSSAPI tokens.
Author¶
Generated automatically by Doxygen for globus_gss_assist from the source code.
Tue Jul 5 2022 | Version 12.7 |