shishi_authenticator_print(3)
π 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 byshishi_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 byshishi_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>.
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
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 ππβ¨
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms