.TH "globus_gss_assist_tokens" 3 "Wed Feb 27 2019" "Version 12.2" "globus_gss_assist" \" -*- nroff -*- .ad l .nh .SH NAME globus_gss_assist_tokens \- Send and Receive Security Tokens\&. .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "int \fBglobus_gss_assist_token_get_fd\fP (void *arg, void **bufp, size_t *sizep)" .br .RI "Get token from a FILE *\&. " .ti -1c .RI "int \fBglobus_gss_assist_token_send_fd\fP (void *arg, void *buf, size_t size)" .br .RI "Send token via a FILE *\&. " .ti -1c .RI "int \fBglobus_gss_assist_token_send_fd_without_length\fP (void *arg, void *buf, size_t size)" .br .RI "Send token to a FILE *\&. " .ti -1c .RI "int \fBglobus_gss_assist_token_send_fd_ex\fP (void *exp, void *buf, size_t size)" .br .RI "Send a token to a FILE *\&. " .in -1c .SH "Detailed Description" .PP 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 \fBSecurity Context Management\fP functions\&. .SH "Function Documentation" .PP .SS "int globus_gss_assist_token_get_fd (void * arg, void ** bufp, size_t * sizep)" .PP 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 \fBglobus_gss_assist_init_sec_context\fP and \fBglobus_gss_assist_accept_sec_context\fP .PP \fBParameters:\fP .RS 4 \fIarg\fP the FILE * stream cast to a void pointer .br \fIbufp\fP the resulting token .br \fIsizep\fP the size (number of bytes) read into bufp .RE .PP \fBReturns:\fP .RS 4 0 on success .PP .RS 4 0 is internal return .RE .PP < 0 is the -errno .RE .PP .SS "int globus_gss_assist_token_send_fd (void * arg, void * buf, size_t size)" .PP 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 \fBglobus_gss_assist_init_sec_context\fP and \fBglobus_gss_assist_accept_sec_context\fP .PP \fBParameters:\fP .RS 4 \fIarg\fP the FILE * stream to send the token on .br \fIbuf\fP the token .br \fIsize\fP the size of the token in bytes .RE .PP \fBReturns:\fP .RS 4 0 on success >0 on error <0 on errno error .RE .PP .SS "int globus_gss_assist_token_send_fd_ex (void * exp, void * buf, size_t size)" .PP 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\&. .PP \fBParameters:\fP .RS 4 \fIexp\fP the globus_gss_assist_ex variable that holds the FILE * stream and flags to bet set .br \fIbuf\fP the token buffer to send .br \fIsize\fP size of the token buffer .RE .PP \fBReturns:\fP .RS 4 0 on success >0 on error <0 on errno error (-errno) .RE .PP .SS "int globus_gss_assist_token_send_fd_without_length (void * arg, void * buf, size_t size)" .PP 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\&. .SH "Author" .PP Generated automatically by Doxygen for globus_gss_assist from the source code\&.