shishi_ap_req_der(3)
π 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>. π
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
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 ππ
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms