shishi_aprep_print(3)
π shishi_aprep_print(3) π
okay bestie, we're in the shishi section of the manual (section 3, the library-calls girlies) and this page is literally all about one tiny lil function. she's small. she's iconic. she prints things. let's get into it π
β¨ NAME β¨
shishi_aprep_print β an API function, no cap
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_aprep_print(Shishi * handle, FILE * fh, Shishi_asn1 aprep);
like, that's the whole vibe right there π
π¦ ARGUMENTS π¦
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the main character, you gotta have her.FILE * fhβ a file handle that's open for writing. yes, writing. do not come in here with a read-only file, that's not the vibe.Shishi_asn1 aprepβ the AP-REP you wanna print. hand her over π«Ά
β DESCRIPTION β
Print the ASCII armored DER encoding of the AP-REP to a file. that's it. that's the whole job. she takes your AP-REP, armors it up in ASCII, and writes that DER goodness straight to fh. lowkey elegant. β¨
π RETURN VALUE π
Returns SHISHI_OK iff successful. so if you see SHISHI_OK, we ate. if you don'tβ¦ well. π
π REPORTING BUGS π
found a bug? don't be shy, 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. (fr fr, that's the whole license, she's generous like that π)
π 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 her, she's thorough π
and that's the page bestie!! this one shipped as part of shishi 1.0.3, so if anyone asks, that's the version, mwah π πβ¨
π¦ 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