shishi_apreq_parse(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

✨ NAME ✨

shishi_apreq_parse β€” bestie, this is an API function πŸ’… (from the shishi manual, section 3, iykyk)


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_apreq_parse(Shishi * handle, FILE * fh, Shishi_asn1 * apreq);

🌸 ARGUMENTS 🌸

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). no handle, no vibes 🫢
  • FILE * fh β€” a file handle that's open for reading. reading only, bestie, don't get any ideas πŸ‘‘
  • Shishi_asn1 * apreq β€” output variable, and it holds a newly allocated AP-REQ. so yeah, she's fresh out the box ✨

πŸ’– DESCRIPTION πŸ’–

okay so literally what this does: it reads an ASCII armored DER encoded AP-REQ from a file and populates the variable you gave it. that's the whole thing. it's giving "read the file, fill the struct," and honestly? iconic behavior πŸŽ€


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. that's the good ending, periodt πŸ’œ


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not you being the main character of QA 😭 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 Β© 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 vibe β€” keep the notice, keep the peace 🌈

🧚 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.


k bye bestie, go read your AP-REQs πŸ’– this was shishi version 1.0.3, page shishi_apreq_parse(3) β€” mwah 🫢✨