Main Page | Modules

Globus_gsi_gss_assist_tokens

Token routines using fread and fwrite. More...

Functions


Detailed Description

Token routines using fread and fwrite.

Additional code has been added to detect tokens which are sent without a length field. These can currently be only SSL tokens. This does require some knowledge of the underlying GSSAPI, by the application, but is within the guidelines of the GSSAPI specifications.

The get routine will automaticly attempt this test, while a new send routine will check a flag. The old send routine will work as before, sending a 4-byte length.


Function Documentation

int globus_gss_assist_token_get_fd (
     void * arg,
     void ** bufp,
     size_t * sizep)
 

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

Parameters:
arg the FILE * stream cast to a void pointer
bufp the resulting token
sizep the size (number of bytes) read into bufp
Returns:
0 on success > 0 is internal return < 0 is the -errno


about globus | grid research | globus toolkit | software development

Comments? webmaster@globus.org