GLOBUS_GSS_ASSIST_TOKENS(3)
π globus_gss_assist_tokens β Token Transport π
okay bestie, welcome to globus_gss_assist_tokens(3), straight out of the Library Functions Manual. this is the page where we learn how to send and receive security tokens β¨ like it's a group chat but the messages are GSSAPI tokens and the vibes are β¨cryptographicβ¨
β¨ 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.
ngl this is the whole point of the page: the functions in this section are used to send and receive GSSAPI tokens using various methods. and where do they get used? by the Security Context Management functions. it's giving infrastructure. it's giving backbone. periodt. π
π Function Documentation π
π int globus_gss_assist_token_get_fd (void * arg, void ** bufp, size_t * sizep)
Get token from a FILE *. bestie, you use an open FILE handle to get a token. and the way this function is built β it provides parameter types that allow it to be passed to globus_gss_assist_init_sec_context and globus_gss_assist_accept_sec_context. iconic plug-and-play energy fr fr. π₯
π Parameters
argβ theFILE *stream cast to avoidpointerbufpβ the resulting tokensizepβ the size (number of bytes) read intobufp
π Returns
0on success> 0is internal return< 0is the-errno
β¨ int globus_gss_assist_token_send_fd (void * arg, void * buf, size_t size)
Send token via a FILE *. you write a token to the open FILE handle. heads up: it will write it with a 4 byte length. and same as before, 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β theFILE *stream to send the token onbufβ the tokensizeβ the size of the token in bytes
π Returns
0on success>0on error<0onerrnoerror
π§ int globus_gss_assist_token_send_fd_ex (void * exp, void * buf, size_t size)
Send a token to a FILE *. you write a token to the open FILE *, and here's the little twist: this function will look at the flag to determine if the length field needs to be written. so it's the flexible sibling, the main character of the family π
π Parameters
expβ theglobus_gss_assist_exvariable that holds theFILE *stream and flags to bet setbufβ the token buffer to sendsizeβ size of the token buffer
π Returns
0on success>0on error<0onerrnoerror (-errno)
π int globus_gss_assist_token_send_fd_without_length (void * arg, void * buf, size_t size)
Send token to a FILE *. you write a token to the open FILE. and the whole vibe of this one is that it will write it without a length, so that the FILE stream only contains GSSAPI tokens. no extra bytes, no length prefix, just tokens and tokens only. clean. minimalist. aesthetic. β¨
πΈ Author πΈ
Generated automatically by Doxygen for globus_gss_assist from the source code. (not a human, just a very diligent little robot π«Ά)
and that's the whole page bestie!! no cap, every flag, every param, every return value made it in π
okay so signing off with the receipts: this was globus_gss_assist, Version 12.7, and the page itself is globus_gss_assist_tokens(3). slay, go forth and transport those tokens πβ¨π
π¦ where this page comes from
- epel 10: globus-gss-assist-doc 12.7-4.el10_0 Β· Apache-2.0
- fedora 43: globus-gss-assist-doc 12.7-9.fc43 Β· Apache-2.0
- fedora 44: globus-gss-assist-doc 12.7-10.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-gss-assist-doc 12.7-3build2 Β· Apache-2.0
- ubuntu stonking: libglobus-gss-assist-doc 12.7-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms