shishi_aprep_save(3)
πΎ shishi_aprep_save(3) β the shishi manual, bestie edition π
okay so welcome to the shishi manual page for shishi_aprep_save(3), section 3, which is where the library calls live. this one is literally just "save your AP-REP to a file" and honestly? she's a queen for being so simple. no cap.
β¨ NAME β¨
shishi_aprep_save β API function π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_aprep_save(Shishi * handle, FILE * fh, Shishi_asn1 aprep);
like. three arguments. in, in, in. we love a low-drama signature π«Ά
β¨ ARGUMENTS β¨
Shishi * handleβ the shishi handle, and no you can't just make one up, it's allocated byshishi_init(). that's her origin story, respect it.FILE * fhβ a file handle that's open for writing. yes, writing specifically. reading is not the vibe here, bestie. πShishi_asn1 aprepβ the AP-REP you wanna save. that's the one. the whole point. main character energy fr fr.
β¨ DESCRIPTION β¨
Save the DER encoding of the AP-REP to the file. that's it. that's the function. she takes your AP-REP, DER-encodes her, and drops her into the file you handed over. no notes. iconic. β
β¨ RETURN VALUE β¨
Returns SHISHI_OK iff successful β and yeah it's "iff", the mathematical if-and-only-if, so if you get SHISHI_OK it worked, and if it worked you get SHISHI_OK. no in-between, no situationship. π
β¨ REPORTING BUGS β¨
found a bug? π okay don't just scream into the group chat, report it properly:
- bugs go 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/
ngl the maintainers can't fix what they can't see, so please actually send it. π
β¨ 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 the love, 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. go read it, it's giving β¨educatedβ¨. π
that's the whole page, babe π β this was shishi version 1.0.3, page shishi_aprep_save(3), and that's the vibe check, passed with flying colors. periodt. π
πΈπ¦
π¦ 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