shishi_kdcrep_save(3)
π 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 fromshishi_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 π«Ά
- report bugs 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 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 πβ¨ππ¦πΈπ
π«Ά
π¦ 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