shishi_ap_tktoptionsraw(3)
π shishi_ap_tktoptionsraw β the vibe β¨
okay bestie, so this is a page from the shishi manual, section 3 (that's the library-functions section, iykyk). It's called shishi_ap_tktoptionsraw and it is, in the official words, an API function. Yes queen, we're in the C library now π
π SYNOPSIS π
Like, here's the whole entire vibe, verbatim, don't @ me:
#include <shishi.h>
int shishi_ap_tktoptionsraw(Shishi * handle, Shishi_ap ** ap, Shishi_tkt
* tkt, int options, int32_t cksumtype, const char * data, size_t len);
π¦ ARGUMENTS π¦
so many little guys. let's go one by one, no skips, periodt.
Shishi * handleβ your shishi handle, bestie. The one you got fromshishi_init(). Can't do anything without her π«ΆShishi_ap ** apβ a pointer to the new structure that's gonna hold all the info about the AP exchange. she's brand new, she's got main character energy πShishi_tkt * tktβ the ticket you wanna set in your newly created AP. the ticket. THE ticket πint optionsβ the AP-REQ options to set in your newly created AP. (yes, AP-REQ, not AP-REP, pay attention bestie)int32_t cksumtypeβ the authenticator checksum type to set in the AP. it's giving very specific energy β¨const char * dataβ the input array holding the data you wanna store in the checksum field in the Authenticator. raw data, raw vibes πsize_t lenβ the length of that input array with the data you're storing in the checksum field in the Authenticator. gotta know how long she is or she's just chaos π
πΈ DESCRIPTION πΈ
okay so here's the whole plot:
You're creating a brand new AP exchange using shishi_ap(). Then you set the ticket, the AP-REQ apoptions, and the raw Authenticator checksum data field using shishi_ap_set_tktoptionsraw().
Also β and this is lowkey important β a random session key gets added to the authenticator, and it uses the same keytype as the ticket. Matching keytypes, matching energy, we love a consistent queen π
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's it, that's the tea. anything else and, wellβ¦ it's not SHISHI_OK, bestie π
π REPORTING BUGS π
Found a bug? Not the cute kind? Then pls report it 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/
they wanna hear from you fr fr π
π COPYRIGHT π
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.
(so likeβ¦ you can share her, just keep the receipts π§)
π₯ 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, this command:
info shishi
should give you access to the complete manual. go read it, it's giving β¨educatedβ¨
and that's the whole page, bestie!! this was shishi version 1.0.3, section 3, shishi_ap_tktoptionsraw β go forth and create AP exchanges, you absolute icon π
πβ¨
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms