shishi_kdcreq_etype(3)
π shishi_kdcreq_etype β the manual page, bestie edition π
okay so real talk, this is a page from the shishi manual (section 3, the library-calls girlies), and it's about one tiny little function that fishes an encryption type out of a KDC-REQ. she's small, she's specific, she's iconic. let's get into it π
β¨ NAME β¨
shishi_kdcreq_etype β it's an API function, no cap π«Ά
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_kdcreq_etype(Shishi * handle, Shishi_asn1 kdcreq, int32_t *
etype, int netype);
like yes she takes four things and gives you back an int. she's giving "small but essential" energy fr fr π
β¨ ARGUMENTS β¨
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the main character here, everything runs through her πShishi_asn1 kdcreqβ the KDC-REQ variable you're pulling the etype field out of. that's the whole job tbh π¦int32_t * etypeβ the output encryption type. yes it's a pointer, yes she writes into it, that's the vibe β¨int netypeβ which element number you want back. you have to tell her which one, she's not a mind reader π
β¨ RETURN THE NETYPE β¨
so this returns the encryption type from the KDC-REQ, bestie. and the lil detail that matters: the first etype is number 1. not 0. one. don't come for me, that's just how she is π
β¨ RETURN VALUE β¨
she returns SHISHI_OK iff the etype was successful set. that's it. that's the whole condition. anything else and it's not SHISHI_OK, periodt π
β¨ REPORTING BUGS β¨
found something cursed? spill 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/
β¨ 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, go off, but 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 her, she's thorough πΈ
ngl if you got this far you're literally a scholar. the info page is right there, go consume it, you ate π
and that's the whole page, bestie β this was the shishi manual, version 1.0.3, page shishi_kdcreq_etype(3), and she's out πβ¨ no cap, go write some Kerberos code, you've got this π«Άπ
π¦ 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