shishi_encapreppart_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_encapreppart_print β€” the glow-up edition ✨

okay bestie, pull up a chair πŸͺ‘ because we're diving into shishi_encapreppart_print(3), a lil function from the shishi library (that's section 3 of the manual, the "library calls" section, iykyk πŸ“š). she's small, she's cute, she prints things. main character energy fr fr πŸ’…


🌸 NAME 🌸

shishi_encapreppart_print β€” literally an API function πŸŽ€


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_encapreppart_print(Shishi * handle, FILE * fh, Shishi_asn1
encapreppart);

look at her. three args, one int return, no drama πŸ¦‹


🫢 ARGUMENTS 🫢

  • Shishi * handle β€” the shishi handle, which you get from shishi_init(). she's the passport, the vibe, the whole identity πŸͺͺ✨
  • FILE * fh β€” a file handle that's open for writing. yes bestie, writing, don't come in here with a read-only file, that's not the moment πŸ’€
  • Shishi_asn1 encapreppart β€” the EncAPRepPart you wanna print. that's the one. the star of the show πŸ‘‘

🌈 DESCRIPTION 🌈

Print the ASCII armored DER encoding of EncAPRepPart to file.

that's it. that's the whole vibe. she takes your EncAPRepPart, armored up in ASCII like a little knight πŸ›‘οΈ, DER-encoded, and drops it into the file handle you handed her. no cap πŸ’–


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful πŸŽ‰

(that "iff" is mathematician-speak for "if and only if", so like, SHISHI_OK means it slayed, anything else means it did not 😭)


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not me being the bearer of bad news but like, 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/


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 bestie, keep the receipts, that's the whole deal)


πŸ’œ 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 encyclopedia but make it ✨computing✨


and that's the whole page, bestie πŸŽ€ this was shishi version 1.0.3, straight from the shishi manual, page shishi_encapreppart_print(3) β€” stay armored, stay DER-encoded, and remember: SHISHI_OK or it didn't happen πŸ’…βœ¨πŸ¦‹