GLOBUS_GSS_ASSIST_TOKEN_SEND_FD_WITHOUT_LENGTH(3)

πŸ“¦
version 12.7 Β· 5 versions
, in epel 10, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’– 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 β€” 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

✨ 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 β€” the FILE * stream to send the token on
  • buf β€” the token
  • size β€” the size of the token in bytes

πŸ’œ Returns

  • 0 on success
  • >0 on error
  • <0 on errno error

🧚 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 β€” 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

πŸ’œ Returns

  • 0 on success
  • >0 on error
  • <0 on errno error (-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 πŸ‘‘βœ¨πŸŽ€