shishi_aprep_print(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 from shishi_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> πŸ’Œ


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 πŸ’…πŸŽ€βœ¨