shishi_priv_save(3)
π shishi_priv_save(3) β the shishi girlies' guide π
okay bestie, buckle up, because we're diving into the shishi manual and this one is a whole vibe. it's shishi_priv_save, part of the shishi crew, and she's here to help you write your PRIV out to a file. iconic behaviour, honestly. π¦
β¨ NAME β¨
shishi_priv_save β API function πΈ
(yeah, that's it. she's an API function. mysterious. main character energy. we love her for it.)
π SYNOPSIS π
#include <shishi.h>
int shishi_priv_save(Shishi * handle, FILE * fh, Shishi_asn1 priv);
look at her. three little args. so clean. so slay. π
π«Ά ARGUMENTS π«Ά
Shishi * handleβ the shishi handle, bestie. the one you got fromshishi_init(). no handle, no party. πFILE * fhβ a file handle that's open for writing. she's gotta be writable, okay? don't come at her with a read-only file, that's not the vibe.Shishi_asn1 privβ the PRIV you want to save. yes, literally the PRIV. hand her over and let the function do its thing. β¨
π DESCRIPTION π
Save the DER encoding of PRIV to a file. that's the whole job. she takes your PRIV, encodes it in DER, and drops it into the file you handed her. no drama, no fuss, just a little cryptographic data persistence moment. periodt. π
π RETURN VALUE π
Returns SHISHI_OK iff successful. π
(translation: if everything went off without a hitch, you get SHISHI_OK back. if notβ¦ well, it's not SHISHI_OK, and you know what that means. vibe check failed. π)
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie, 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/
they want to hear from you fr fr. πβ¨
π 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? just keep the notice. respect the notice. the notice is sacred. π)
β 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 β that's where the real lore lives. ππ«
okay that's the whole page, bestie!! this was shishi version 1.0.3, and the page is shishi_priv_save(3) β mwah, go forth and save your PRIVs responsibly. π¦πβ¨
π¦ 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