shishi_krberror_save(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_save(3) β€” the shishi manual, bestie edition ✨

okay so this is a page from the shishi manual, and today's main character is shishi_krberror_save(3) πŸŽ€ she's an API function and she has exactly one job, which she does flawlessly, no notes πŸ’…


🌸 NAME 🌸

shishi_krberror_save β€” it's an API function, babes. that's the whole vibe.


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_krberror_save(Shishi * handle, FILE * fh, Shishi_asn1
krberror);

like, three args, one int back, extremely chill πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the shishi handle, and it's gotta be the one you got from shishi_init(). don't just make one up bestie, allocate it properly πŸ™ˆ
  • FILE * fh β€” a file handle that's open for writing. writing. for writing. if you opened it read-only that's on you 😭
  • Shishi_asn1 krberror β€” the actual KRB-ERROR you wanna save. the star of the show πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

Save the DER encoding of a KRB-ERROR to a file. that's it. that's the function. she takes your krberror, she DER-encodes it, she writes it out to fh. iconic, lowkey efficient, ate and left no crumbs πŸ“


🌈 RETURN VALUE 🌈

Returns SHISHI_OK iff successful. and yes, "iff" means if-and-only-if, she's being precise, periodt ⭐


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence, spill 🫢 report it 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, go off, but keep the receipts πŸ’…)


🧚 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. iykyk πŸ“–βœ¨


okay that's the whole page, and as a lil sign-off: this is shishi version 1.0.3, page shishi_krberror_save(3) πŸ’– go save some KRB-ERRORs bestie, you got this πŸŽ€πŸŒΈ