shishi_kdcrep_save(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_kdcrep_save(3) β€” the shishi manual, bestie edition πŸ’–

okay so welcome to the shishi manual section, specifically the page for shishi_kdcrep_save(3). yes it's a mouthful, no you don't have to say it out loud. it's an API function, it's cute, it saves things, let's go πŸ¦‹


✨ NAME ✨

shishi_kdcrep_save β€” literally an API function, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_kdcrep_save(Shishi * handle, FILE * fh, Shishi_asn1 kdcrep);

like, that's it. three args, one int coming back. slay.


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, bestie. the one you got from shishi_init(). no handle, no party πŸ™ˆ
  • FILE * fh β€” a file handle that's open for writing. yes, writing specifically. don't come at it with a read-only handle, that's not the moment.
  • Shishi_asn1 kdcrep β€” the KDC-REP you want to save. it's giving "keep this safe" energy πŸ‘‘

🧚 DESCRIPTION 🧚

it prints the DER encoding of the KDC-REP to the file. that's it. that's the whole function. lowkey iconic in how simple it is ✨


⭐ RETURN VALUE ⭐

returns SHISHI_OK iff it worked. and only iff. so if you get SHISHI_OK, congratulations, you ate. if you don't... well, it's not SHISHI_OK, bestie 😭


πŸ’€ REPORTING BUGS πŸ’€

found a bug? don't suffer in silence, tell the people 🫢


Copyright Β© 2002-2022 Simon Josefsson.

and fr fr, this part is important: 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 go forth, share responsibly, keep the receipts πŸ’œ


🌈 SEE ALSO 🌈

the full documentation for shishi is maintained as a Texinfo manual. so if the info and shishi programs are properly installed at your site, this command:

info shishi

should give you access to the complete manual. iykyk, the info pages are where the lore lives πŸ“š


and that's the page, bestie!! shishi 1.0.3, dated with all the love, from your fave shishi_kdcrep_save(3) girlie. go save those KDC-REPs, you've got this πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά