|
globus_gss_assist
10.11
|
Send and Receive Security Tokens. More...
|
Functions | |
| int | globus_gss_assist_token_get_fd (void *arg, void **bufp, size_t *sizep) |
| Token Get File Descriptor. More... | |
| int | globus_gss_assist_token_send_fd (void *arg, void *buf, size_t size) |
| Token Send File Descriptor. More... | |
| int | globus_gss_assist_token_send_fd_without_length (void *arg, void *buf, size_t size) |
| Token Send File Descriptor Without Length. More... | |
| int | globus_gss_assist_token_send_fd_ex (void *exp, void *buf, size_t size) |
| Token Send File Descriptor Flag EX. More... | |
Send and Receive Security Tokens.
The functions in this section are used to send and receive GSSAPI tokens using verious methods. These are used by the Security Context Management functions.
| int globus_gss_assist_token_get_fd | ( | void * | arg, |
| void ** | bufp, | ||
| size_t * | sizep | ||
| ) |
Token Get File Descriptor.
Use a open file discriptor 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
| arg | the FILE * stream cast to a void pointer |
| bufp | the resulting token |
| sizep | the size (number of bytes) read into bufp |
< 0 is the -errno0 is internal return
| int globus_gss_assist_token_send_fd | ( | void * | arg, |
| void * | buf, | ||
| size_t | size | ||
| ) |
Token Send File Descriptor.
Write a token to the open file descriptor. 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
| arg | the FILE * stream to send the token on |
| buf | the token |
| size | the size of the token in bytes |
| int globus_gss_assist_token_send_fd_ex | ( | void * | exp, |
| void * | buf, | ||
| size_t | size | ||
| ) |
Token Send File Descriptor Flag EX.
Write a token to the open file descripter. will look at the flag to determine if the length field need to be written.
| exp | the globus_gss_assist_ex variable that holds the FILE * stream and flags to bet set |
| buf | the token buffer to send |
| size | size of the token buffer |
| int globus_gss_assist_token_send_fd_without_length | ( | void * | arg, |
| void * | buf, | ||
| size_t | size | ||
| ) |
Token Send File Descriptor Without Length.
Write a token to the open file descripter. Will write it without a length. so as to
1.8.8