shishi_ap_rep_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_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>. πŸ›


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 πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ