shishi_ap_set_tktoptionsraw(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– shishi_ap_set_tktoptionsraw β€” from the shishi manual (section 3) πŸ’–

okay bestie, gather round, because today we're learning about shishi_ap_set_tktoptionsraw(3), which is an API function and honestly? it's giving "one-stop shop for your AP exchange setup." πŸŽ€


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_ap_set_tktoptionsraw(Shishi_ap * ap, Shishi_tkt * tkt, int
options, int32_t cksumtype, const char * data, size_t len);

like, that's the whole vibe right there. one function call, so much power. πŸ’…


🫢 ARGUMENTS 🫢

  • Shishi_ap * ap β€” the structure that holds information about AP exchange. it's literally the main character here, everything lives in ap. πŸ‘‘
  • Shishi_tkt * tkt β€” the ticket to set in AP. yeah. the ticket. the whole point. 🎫
  • int options β€” AP-REQ options to set in AP. flags, but make it AP-REQ. ✨
  • int32_t cksumtype β€” authenticator checksum type to set in AP. gotta tell it which checksum vibe you're on. πŸ”₯
  • const char * data β€” input array with data to store in checksum field in Authenticator. raw bytes, no notes. πŸ’€
  • size_t len β€” length of input array with data to store in checksum field in Authenticator. because data doesn't know how long it is, bestie, you have to tell it. 😭

🌸 DESCRIPTION 🌸

Set the ticket (see shishi_ap_tkt_set()) and set the AP-REQ apoptions (see shishi_apreq_options_set()) and set the raw Authenticator checksum data.

fr fr, that's it. three things in one call: ticket βœ…, AP-REQ options βœ…, raw Authenticator checksum data βœ…. no cap, this function is lowkey doing the most so you don't have to. πŸ¦‹


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful.

and like, iff is doing heavy lifting there, bestie. successful = SHISHI_OK. anything else = not that. keep an eye on it. πŸ™ˆ

🧚 REPORTING BUGS 🧚

Found something cursed? Report bugs to <bug-shishi@gnu.org>.

GNU Shishi home page: http://www.gnu.org/software/shishi/

General help using GNU software: http://www.gnu.org/gethelp/

like, they want to hear from you, that's the whole point of the email address. πŸ’œ


Copyright Β© 2002-2022 Simon Josefsson.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.


πŸ‘‘ SEE ALSO πŸ‘‘

The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual.

like, go read it. it's right there. πŸ’…


and that's the page!! 🌸 this absolute icon of a manpage comes from shishi, version 1.0.3, and it's filed under shishi_ap_set_tktoptionsraw(3). stay slay, go set those raw tkt options, and remember: read the docs, hydrate, and SHISHI_OK is the only energy we accept. πŸ’–βœ¨πŸŽ€πŸ¦‹