shishi_tgs_krberror_der(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_tgs_krberror_der(3) πŸ’–

okay bestie, welcome to the shishi manual, section 3 πŸŽ€ this one's about a lil function called shishi_tgs_krberror_der, and yes the name is a mouthful, we love that for it πŸ’…


✨ NAME ✨

shishi_tgs_krberror_der β€” it's an API function, babes 🌸


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_tgs_krberror_der(Shishi_tgs * tgs, char ** out, size_t *
outlen);

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


✨ ARGUMENTS ✨

  • Shishi_tgs * tgs β€” the structure that holds all the info about the TGS exchange πŸ‘‘ this is your main character right here.
  • char ** out β€” an output array, and it gets filled with a newly allocated DER encoding of KRB-ERROR ✨ brand new, freshly allocated, still warm.
  • size_t * outlen β€” the length of that output array holding the DER encoding of KRB-ERROR πŸ“ so you know exactly how big your lil gift is.

✨ DESCRIPTION ✨

so basically: DER encode KRB-ERROR πŸ’… that's it, that's the job.

out gets allocated by this function, which means β€” and I need you to hear me on this β€” it is the responsibility of the caller to deallocate it 😭 yes bestie, you free it. it's giving "you break it, you bought it" but make it memory management 🫢


✨ RETURN VALUE ✨

Returns SHISHI_OK iff successful ⭐ that's the good ending. anything else is not the good ending, no cap.


✨ REPORTING BUGS ✨

found a bug? not me gatekeeping, go tell them fr fr πŸ™ˆ

Report bugs 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. (iconic behaviour honestly, we stan πŸŽ€)


✨ 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, the command

info shishi

should give you access to the complete manual 🌈 go read it, it's giving lore.


and that's the whole page bestie πŸ’– go forth and DER encode responsibly, and don't forget to free your out or I will personally appear in your dreams 😭

this has been shishi version 1.0.3, page shishi_tgs_krberror_der(3) β€” slay, stay hydrated, and may all your return values be SHISHI_OK βœ¨πŸ’…πŸ¦‹