shishi_kdcrep_read(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

πŸ‘‘ 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 called shishi_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 Β© 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. πŸ’‹πŸ«Ά