shishi_kdcreq_print(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_print(3) β€” the manual page, but make it make sense πŸ’–

okay bestie, so this is a page from the shishi manual, and today's main character is shishi_kdcreq_print. it's an API function. it prints stuff. we love a simple queen. ✨


🌸 NAME 🌸

shishi_kdcreq_print β€” it's an API function, periodt.


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_kdcreq_print(Shishi * handle, FILE * fh, Shishi_asn1 kdcreq);

like, that's the whole vibe. three args, one int back. she's not complicated, she's just efficient. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” your shishi handle, aka the one you got from shishi_init(). no handle, no party. πŸ™ˆ
  • FILE * fh β€” a file handle that's open for writing. key word: writing. don't come at her with a read-only file, she will not be serving that. 😭
  • Shishi_asn1 kdcreq β€” the KDC-REQ you want printed. that's the whole assignment.

✨ DESCRIPTION ✨

So basically: she prints the ASCII armored DER encoding of the KDC-REQ to the file. that's it. that's the function. it's giving "do one thing and do it well" and honestly? iconic. πŸ‘‘


πŸ’œ RETURN VALUE πŸ’œ

Returns SHISHI_OK iff successful. and bestie, "iff" is not a typo β€” it means if and only if. so if you don't see SHISHI_OK, something went sideways and you should go investigate. no cap. πŸ”₯


πŸ“ REPORTING BUGS πŸ“

Found a bug? don't suffer in silence, tell the people!! Report bugs to <bug-shishi@gnu.org>.

they literally want to hear from you. go off. 🫢


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.

(translation: share it, remix it, just keep the receipts. respect the queen's credit. πŸ’…)


🌈 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.

so if you're ever like "wait, there's more?" β€” yes bestie, there absolutely is, go read the Texinfo. iykyk. πŸ“–βœ¨


mwah πŸ’– that was shishi_kdcreq_print(3) from the shishi manual, version 1.0.3, and yes she's still serving the same energy she always has. go print some KDC-REQs, you've got this. πŸŽ€πŸ¦‹πŸ’œ