shishi_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_krberror_der(3) β€” the shishi manual, bestie edition πŸ’–

okay so you found the page for shishi_krberror_der in the shishi manual and honestly? we're gonna have a great time. this is an API function, she's little, she's focused, she DER-encodes a KRB-ERROR and hands it to you. slay. ✨


✨ NAME ✨

shishi_krberror_der β€” API function 🫢


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_krberror_der(Shishi * handle, Shishi_asn1 krberror, char **
out, size_t * outlen);

like. look at her. three args plus a handle, return type int, no cap. πŸ’…


✨ ARGUMENTS ✨

  • Shishi * handle β€” the shishi handle, and it has to be one that was allocated by shishi_init(). no random handles, bestie, we're not doing that. πŸ™ˆ
  • Shishi_asn1 krberror β€” the krberror, and it has to be one that was allocated by shishi_krberror(). matching set only, it's giving coordinated. πŸŽ€
  • char ** out β€” the output array that's gonna hold the newly allocated DER encoding of the KRB-ERROR. it's newly allocated, so remember that. πŸ‘€
  • size_t * outlen β€” the length of that output array with the DER encoding of the KRB-ERROR. the receipts. the exact byte count. ⭐

✨ DESCRIPTION ✨

DER encode KRB-ERROR. that's the whole job, she's an icon, she does one thing and she does it perfectly. πŸ”₯

⚠️ the caller must deallocate the OUT buffer. like actually. that memory is yours now, you own it, you feed it, you free it. don't leave her hanging, it's not the vibe. 😭

✨ RETURN VALUE ✨

Returns SHISHI_OK iff successful. and only iff. she's not out here handing out SHISHI_OK for free, it has to be actually successful. periodt. πŸ‘‘


✨ REPORTING BUGS ✨

found a bug? not me gatekeeping the bug report, go tell the people:

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. (so like, share it, remix it, just keep the receipts. the way that generosity is giving main character energy fr fr. 🌈)


✨ 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, this command:

info shishi

should give you access to the complete manual. iykyk, go read the whole thing, she's long but she's worth it. πŸ“šπŸ’œ


and that's the page!! this was shishi version 1.0.3, from the shishi manual, and honestly? iconic. go free your buffer bestie πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ