shishi_ap_req_der(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(3) β€” the shishi manual, bestie edition πŸ’–

okay so bestie, welcome to shishi_ap_req_der from the shishi manual. this one's short, sweet, and honestly kinda iconic. let's get into it πŸŽ€


✨ NAME ✨

shishi_ap_req_der β€” API function πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_ap_req_der(Shishi_ap * ap, char ** out, size_t * outlen);

🌸 ARGUMENTS 🌸

  • Shishi_ap * ap β€” the structure that holds information about the AP exchange. it's literally the main character here, it knows everything about what's going on 🫢
  • char ** out β€” pointer to output array with der encoding of AP-REQ. yes bestie, a pointer to a pointer, we love a double-pointer moment ✨
  • size_t * outlen β€” pointer to length of output array with der encoding of AP-REQ. gotta know how long the thing is, no cap πŸ“

πŸ‘‘ DESCRIPTION πŸ‘‘

Build AP-REQ using shishi_ap_req_build() and DER encode it. 🧚

IMPORTANT BESTIE: out is allocated by this function, and it is the responsibility of caller to deallocate it. so like… the function hands you a gift and you gotta be the one to clean up after, fr fr. don't leave that memory hanging, it's giving leaked πŸ’€

⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. that's the vibe check passing βœ…

πŸ™ˆ REPORTING BUGS πŸ™ˆ

Found a bug? not the cute kind? Report bugs 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. (slay, that's a generous license honestly, we love to see it 🌈)

🌟 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. πŸ“–βœ¨


and that's the whole page bestie, you ate that πŸ“ this was the shishi 1.0.3 version, and the page you just read is literally named shishi_ap_req_der(3) β€” go forth and DER encode responsibly, ily πŸ’–πŸ’