shishi_der2asn1_tgsreq(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_der2asn1_tgsreq β€” bestie edition πŸ’–

okay so real talk, this is a page from the shishi manual, section 3 (the library-call girlies know), and it's all about one lil function: shishi_der2asn1_tgsreq. she's an API function. she decodes. she slays. let's get into it πŸŽ€


✨ NAME ✨

shishi_der2asn1_tgsreq β€” an API function, bestie. that's the whole job description πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

Shishi_asn1 shishi_der2asn1_tgsreq(Shishi * handle, const char * der,
       size_t derlen);

like yes, that's the whole vibe. one include, one call, three args. we love a low-maintenance icon ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” your shishi handle, aka the one you got from shishi_init(). she's the main character here, everything runs through her πŸ’–
  • const char * der β€” the input character array holding the DER encoding. raw bytes, no vibes, just data 🫢
  • size_t derlen β€” the length of that input character array with the DER encoding. like, how many bytes are we talking. count them. don't guess πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

so basically? she takes the DER encoding of a TGS-REQ and decodes it, and what you get back is a shiny new ASN.1 structure. that's it. that's the whole arc. decode in, structure out, no cap πŸ”₯


⭐ RETURN VALUE ⭐

returns the ASN.1 structure that corresponds to your DER data. periodt. you asked for a structure, you got a structure πŸ‘‘


😭 REPORTING BUGS 😭

found a bug? don't suffer in silence, tell the people!! report bugs to <bug-shishi@gnu.org> πŸ›

genuinely though, bug reports go to that email. the maintainers wanna hear from you fr fr πŸ’Œ

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: you can copy and share this file, modified or not, anywhere, no payment needed β€” just keep the copyright notice and this notice with it. iconic behaviour honestly 🌈

🌟 SEE ALSO 🌟

the full documentation for shishi lives in a Texinfo manual, and if the info and shishi programs are properly installed at your site, this command:

info shishi

should give you access to the complete manual. iykyk 🧚


and that's the whole page bestie!! this was the shishi manual, version 1.0.3, section 3, for shishi_der2asn1_tgsreq. go decode something and be free πŸ’…βœ¨πŸ«Ά