shishi_kdcreq_set_etype(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_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 by shishi_init().
  • Shishi_asn1 kdcreq β€” the KDC-REQ variable where we're setting the etype field. 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:


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 🧚