shishi_ap_rep_der(3)
π shishi_ap_rep_der π
okay bestie, gather round, because we're doing the shishi_ap_rep_der(3) page from the shishi manual and it's honestly kind of a slay π
β¨ NAME β¨
shishi_ap_rep_der β it's an API function, babes π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_ap_rep_der(Shishi_ap * ap, char ** out, size_t * outlen);
π¦ ARGUMENTS π¦
Shishi_ap * apβ this is the struct that's holding all the tea about your AP exchange, like it literally keeps the info about it π«Άchar ** outβ the output array, and inside it goes the freshly allocated DER encoding of AP-REP β¨size_t * outlenβ the length of that output array with the DER encoding of AP-REP, no cap π
π DESCRIPTION π
so what this does is build AP-REP using shishi_ap_rep_build() and then DER encode it. that's the whole vibe π§
and listen, out is allocated by this function, which means it is the caller's responsibility to deallocate it. yes queen, you. it's yours now. free it or it's giving memory leak π
β RETURN VALUE β
Returns SHISHI_OK iff it's successful. that's it, that's the whole return π
π REPORTING BUGS π
found a bug? not the moment but okay. 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. (translation: go off, 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. iykyk πβ¨
and that's the page bestie, shishi version 1.0.3, shishi_ap_rep_der(3), mwah π
π«Ά
π¦ 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