shishi_kdcrep_read(3)
π NAME π
okay so bestie, gather round, because this is shishi_kdcrep_read β an API function from the shishi manual, living its best life over in section 3 of the docs. it reads stuff. it slays. periodt. β¨
π¦ SYNOPSIS πΈ
#include <shishi.h>
int shishi_kdcrep_read(Shishi * handle, FILE * fh, Shishi_asn1 * kdcrep);
π ARGUMENTS π
Shishi * handleβ the shishi handle, bestie. it's the one you got handed to you when you calledshishi_init(), so like, don't just make one up out of thin air, okay? π«ΆFILE * fhβ a file handle that's open for reading. that's the vibe. it reads. that's its whole thing. πShishi_asn1 * kdcrepβ an output variable, and she comes pre-loaded with a freshly allocated KDC-REP. main character energy, honestly. π
β¨ DESCRIPTION β¨
so what this does is: it reads a DER encoded KDC-REP straight out of a file, and then it populates the variable you gave it. that's it. that's the whole plot. lowkey iconic, highkey useful. π§
ngl, "populate given variable" is doing a lot of heavy lifting in one sentence, but that's genuinely the entire description, so we're keeping it 100. π
π RETURN VALUE π
it returns SHISHI_OK β but only if everything went well, i.e. iff successful. anything else and, well... not successful. no cap. π₯
π REPORTING BUGS π
found a bug? first of all, rude (jk, we love you). report it 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.
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: you can copy and share this, no money needed, just don't remove the copyright notice and this notice. be normal about it. π)
β 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, bestie, it's giving β¨comprehensiveβ¨. π¦
and that's the whole page, babes! this little writeup came to you from shishi 1.0.3 β stay hydrated, read your man pages, and remember: DER encoded KDC-REPs don't read themselves. mwah. ππ«Ά
π¦ 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