shishi_ap_req_der_set(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_ap_req_der_set ✨

okay bestie, we're in the shishi manual, section 3, and today's main character is shishi_ap_req_der_set πŸ’… she's an API function and she's here to hand your AP exchange its AP-REQ. let's get into it πŸ¦‹


🌸 NAME 🌸

shishi_ap_req_der_set β€” API function πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_ap_req_der_set(Shishi_ap * ap, char * der, size_t derlen);

πŸ’– ARGUMENTS πŸ’–

  • Shishi_ap * ap β€” the structure that holds all the info about your AP exchange. she's the whole vibe, the container, the moment 🫢
  • char * der β€” an input array with the DER encoded AP-REQ. raw bytes, no cap πŸ”₯
  • size_t derlen β€” the length of that input array with the DER encoded AP-REQ. gotta tell her how much to read, fr fr ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

so literally what she does is DER decode the AP-REQ and set it into the AP exchange. that's the whole job, and she eats πŸ’…

⚠️ but listen β€” if the decoding fails, the AP-REQ in the AP exchange is lost. gone. not me losing your whole AP-REQ 😭 so pls be careful with your input, bestie.

⭐ RETURN VALUE ⭐

Returns SHISHI_OK. that's it, that's the tea πŸ‘‘


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not the slay behaviour we wanted but okay β€” 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. (iconic, honestly β€” free to share, just keep the receipts πŸŽ€)


πŸ‘‘ 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 educational ✨


that's the whole page bestie, no notes πŸ’– this was shishi version 1.0.3, page shishi_ap_req_der_set(3) β€” stay encoded, stay slay 🧚🌸🫢