shishi_ap_rep_der_set(3)
β¨ shishi_ap_rep_der_set(3) β the shishi manual, bestie edition β¨
okay so picture this: you're deep in the shishi library (that's the GNU one, section 3 of the manual, the "these are library functions" section, iykyk) and you've got a blob of DER-encoded AP-REP just sitting there, being all raw and un-decoded. this function is the one that handles that. she's a little niche, she's a little underrated, but she does exactly one job and she does it. π
π¦ NAME π¦
shishi_ap_rep_der_set β an API function, and yes that's literally the whole name description, she's mysterious like that π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_ap_rep_der_set(Shishi_ap * ap, char * der, size_t derlen);
π ARGUMENTS π
Shishi_ap * apβ the structure that holds all the info about the AP exchange. she's the main character here, the one getting updated π«Άchar * derβ an input array holding the DER encoded AP-REP. raw bytes, no vibes, just data β¨size_t derlenβ how long that input array is. the length of the DER encoded AP-REP, exactly, no more no less π
π DESCRIPTION π
so what she actually does: she DER decodes the AP-REP and sets it on the AP exchange. that's it. that's the whole arc. π¦
lowkey important caveat bestie: if decoding fails, the AP-REP in the AP exchange remains. like, she does not wipe what was already there. no replacement, no nothing. the old one stays put. π
β RETURN VALUE β
Returns SHISHI_OK. that's the whole return section. she's not out here returning errors at you, she's just giving you the good news. slay. π
π REPORTING BUGS π
found something cursed? 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. (yes queen, keep the receipt β¨)
π§ 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 encyclopedia but make it Kerberos π
that's the whole page, bestie!! this was the shishi manual, version 1.0.3, for shishi_ap_rep_der_set(3) β mwah, drink some water, and go decode something responsibly πβ¨ππ¦πΈ
π¦ 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