shishi_kdcreq_parse(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_parse β€” the manual page, bestie edition πŸ’–

okay so this is shishi_kdcreq_parse(3), a whole API function from the shishi library (section 3, the library-call girlies 🫢). it's giving ✨parse the thing✨ energy and honestly? we're obsessed.


✨ NAME ✨

shishi_kdcreq_parse β€” no frills, just an API function πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

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

like. three args. one int back. that's the whole vibe πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). it's the main character, don't lose it bestie 😭
  • FILE * fh β€” a file handle that's open for reading. reading only, we're not writing anything here, periodt πŸ“–
  • Shishi_asn1 * kdcreq β€” the output variable that ends up holding a newly allocated KDC-REQ. she's fresh, she's new, she's yours now πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜• β€” this function reads an ASCII armored DER encoded KDC-REQ out of the file, and populates that variable you handed it. that's it. that's the function. lowkey iconic, highkey useful 🌈

ngl the "ASCII armored DER encoded" part is the whole point β€” it's the pretty printable wrapper, not raw DER, so don't come at it with raw DER and expect slay πŸ’€

⭐ RETURN VALUE ⭐

returns SHISHI_OK iff successful. like, only if it worked. otherwise? not that. πŸ’–


😭 REPORTING BUGS 😭

found a bug? not me manifesting problems, but okay, report them to <bug-shishi@gnu.org> πŸ›


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. (slay, no royalty, we love a generous license 🫢)


🧚 SEE ALSO 🧚

the full documentation for shishi lives in a Texinfo manual β€” very demure, very mindful πŸ“š. 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 ✨


and that's the whole page bestie!! this was shishi_kdcreq_parse(3), from shishi version 1.0.3 🌸 go forth and parse responsibly, mwah πŸ’…πŸ’–πŸŽ€