shishi_tgs_req_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

πŸ’– NAME πŸ’–

shishi_tgs_req_der_set β€” okay bestie, this is an API function, and she's here to do exactly one thing and do it gorgeously πŸ’…


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_tgs_req_der_set(Shishi_tgs * tgs, char * der, size_t derlen);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi_tgs * tgs β€” the structure that holds all the info about the TGS exchange. she's the main character of this whole operation, no cap 🫢
  • char * der β€” input array holding the DER encoded AP-REQ. yes, the actual bytes, hand them over πŸ’–
  • size_t derlen β€” the length of that input array with the DER encoded AP-REQ. gotta tell her how many bytes we're working with, fr fr πŸ“

🌸 DESCRIPTION 🌸

so the vibe is: this function DER decodes a TGS-REQ and sets it on the TGS exchange. that's it, that's the job, and she ate πŸ“

and here's the little plot twist you need to know about β€” if the decoding fails, the TGS-REQ that was already sitting in the TGS exchange just stays there. not me pointing that out dramatically, but like, lowkey important 🫣✨


πŸ‘‘ RETURN VALUE πŸ‘‘

Returns SHISHI_OK. iconic behavior, honestly 🌈⭐


πŸ’€ REPORTING BUGS πŸ’€

found a bug? don't gatekeep, report it 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. so basically, share it, remix it, just keep the receipts bestie 🧚


πŸ¦‹ 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 πŸ“šβœ¨


okay that's the whole page, mwah πŸ’… this was shishi_tgs_req_der_set(3) from shishi 1.0.3 β€” the man page version 1.0.3, periodt. love u, go decode something responsibly πŸŽ€πŸ«Ά