shishi_kdcreq_set_etype(3)
π shishi_kdcreq_set_etype β bestie edition π
okay so this is a page from the shishi manual, section 3, and it's all about one lil function called shishi_kdcreq_set_etype. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
shishi_kdcreq_set_etype β it's an API function, babes. that's the whole name.
πΈ SYNOPSIS πΈ
the way you pull this in is:
#include <shishi.h>
int shishi_kdcreq_set_etype(Shishi * handle, Shishi_asn1 kdcreq, int32_t
* etype, int netype);
like, that's the whole signature. iconic.
π ARGUMENTS π
Shishi * handleβ the shishi handle, and no you can't just make one up, it's allocated byshishi_init().Shishi_asn1 kdcreqβ the KDC-REQ variable where we're setting theetypefield. this is the thing getting the glow-up πint32_t * etypeβ an input array holding the encryption types. pointer energy.int netypeβ how many elements are in that encryption-type array. yes, you have to count them. yes, it matters.
π¦ DESCRIPTION π¦
so what this does is set the list of supported or wanted encryption types in the request. that's it, that's the job.
and here's the tea, bestie: the list should be sorted in priority order. like, most-wanted first. don't just throw them in there in whatever order, the order is the meaning. π₯
β RETURN VALUE β
returns SHISHI_OK iff successful. and if you don't know what "iff" means β it's "if and only if", so basically: SHISHI_OK means it worked, anything else means it did not. no cap.
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the people:
- bugs go 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.
and the license bit, verbatim vibes: 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. periodt. π
π 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, then this command:
info shishi
should give you access to the complete manual. go read it, it's giving β¨knowledgeβ¨.
mwah π that's the whole page. it came from shishi version 1.0.3, dated in the footer as shishi_kdcreq_set_etype(3) β so if you ever need to cite it, that's your girl. bye bestie, go set some etypes π§
π¦ 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