shishi_encapreppart_save(3)
β¨ shishi_encapreppart_save(3) β¨
okay bestie, so this is one of those pages from the shishi manual (that's the GNU Shishi Kerberos-ish library, iykyk) and it's honestly a lil cutie. tiny function, big job. let's get into it π
π NAME π
shishi_encapreppart_save β literally just an API function, no cap
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_encapreppart_save(Shishi * handle, FILE * fh, Shishi_asn1
encapreppart);
that's the whole vibe. three things go in, one int comes out πΈ
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). like, you can't just show up without it, she needs to be allocated first π«ΆFILE * fhβ a file handle that's open for writing. open for writing, bestie, don't come at her with a read-only file πShishi_asn1 encapreppartβ the EncAPRepPart you want to save. that's the whole point, that's the main character β¨
π₯ DESCRIPTION π₯
Save the DER encoding of EncAPRepPart to a file. that's it. that's the function. it takes your EncAPRepPart, does the DER thing, and drops it into the file you handed over. slay π
β RETURN VALUE β
Returns SHISHI_OK iff successful. and like, iff is doing real work in that sentence β successful only, nothing else. so check it, fr fr π
π REPORTING BUGS π
found a bug? not you being the QA bestie we all needed. report it 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. (yes queen, royalty-free, go off π)
π 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 β¨*comprehensive*β¨
that's the whole page bestie, every last flag and fact, untouched and iconic π
this was shishi_encapreppart_save(3) from shishi 1.0.3 β mwah, take care of her π¦π
π¦ 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