shishi_authenticator_print(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_authenticator_print πŸ’–

okay bestie, welcome to the shishi manual, section 3 (that's the library-functions girlies, iykyk) ✨ this one's about shishi_authenticator_print, and no cap it's a tiny little icon.


🌸 NAME 🌸

shishi_authenticator_print β€” it's an API function, fr fr πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_authenticator_print(Shishi * handle, FILE * fh, Shishi_asn1
authenticator);

like, that's the whole vibe. three args, one int coming back at you πŸ’œ


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got handed by shishi_init(). it's literally the main character of every shishi call, so bring it everywhere 🫢
  • FILE * fh β€” a file handle that's open for writing. not reading, bestie, writing. the data's gotta go somewhere ✨
  • Shishi_asn1 authenticator β€” the authenticator itself, as allocated by shishi_authenticator(). it's giving "i was made for this exact moment" πŸ‘‘

✨ DESCRIPTION ✨

So what does it actually DO? It prints the ASCII armored DER encoding of authenticator to the file. that's it, that's the whole job β€” no side quests, no drama, just your authenticator getting all armored up and written out to fh πŸ›‘οΈπŸ’–


πŸ’« RETURN VALUE πŸ’«

Returns SHISHI_OK iff successful. periodt. anything else means it wasn't successful, so maybe don't ignore that return value, bestie 😭


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't suffer in silence, tell the devs 🫢 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, go off, share it, just 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. that's your one-stop shop, bestie, go read it πŸ¦‹


lowkey the whole thing is just: init your handle, make an authenticator, open a file, print it, check for SHISHI_OK. slay πŸ’…

and that's a wrap on the shishi manual, version 1.0.3, dated shishi_authenticator_print(3) β€” mwah, take care of yourself and your file handles, bestie πŸ’–πŸŽ€βœ¨