shishi_apreq_read(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_apreq_read β€” like, the manual page πŸ’–

okay bestie, gather round, because this one is a whole little function from the shishi manual (section 3, the library-call girlies πŸŽ€) and it is genuinely so cute and useful. it's called shishi_apreq_read and yes we are going to be obsessed with it. πŸ¦‹


✨ NAME ✨

shishi_apreq_read β€” it's an API function, bestie. that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

#include <shishi.h>

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

like, one function, three arguments, zero drama. we love a low-maintenance queen. πŸ‘‘


✨ ARGUMENTS ✨

  • Shishi * handle β€” the shishi handle, bb. the one you got from shishi_init(). it's the main character of the whole operation and honestly it carries. πŸ’œ
  • FILE * fh β€” a file handle that's open for reading. yes, reading, not writing. don't come in here trying to write, that's not her moment. πŸ“–
  • Shishi_asn1 * apreq β€” an output variable that's gonna hold the newly allocated AP-REQ. it comes out fresh, brand new, freshly allocated, glowing. ✨

✨ DESCRIPTION ✨

so what does she DO? she reads a DER encoded AP-REQ out of a file, and populates the variable you handed her with it. that's it. that's the whole job. she reads, she populates, she leaves. no notes. 🧚


✨ RETURN VALUE ✨

returns SHISHI_OK iff successful. and if it's not successful? it's not SHISHI_OK, bestie. that's the vibe check right there. πŸ’€


✨ REPORTING BUGS ✨

found a bug? (not me manifesting bugs, but like, hypothetically πŸ™ˆ) report it to <bug-shishi@gnu.org>.

go tell them, they wanna know, i promise. 🫢


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. slay, that's the license, she's generous and we respect her. 🌈


✨ 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. iykyk β€” go read the whole thing, it's giving encyclopedic and we support that. πŸ“š


and that's the page, bestie!! this was shishi_apreq_read(3) from the shishi manual, version 1.0.3. mwah, love you, go read your DER encoded AP-REQs responsibly. πŸ’–βœ¨πŸŽ€