shishi_asn1_print(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_asn1_print β€” the vibe check for your ASN.1 ✨

okay bestie, so this is shishi_asn1_print(3), a page from the shishi manual. it's a tiny little function that lets you look at your ASN.1 data with your actual eyeballs. no cap. πŸ’…


✨ NAME ✨

shishi_asn1_print β€” API function πŸŽ€

like, that's literally it. it's an API function. she's a function. she's API. moving on bestie 🫢


🌸 SYNOPSIS 🌸

#include <shishi.h>

void shishi_asn1_print(Shishi * handle, Shishi_asn1 node, FILE * fh);

so you gotta pull in <shishi.h> first β€” that's the entry fee, no exceptions β€” and then the whole function is right there in one line. returns void, which lowkey means she gives you nothing back except vibes. 🌈


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). she's the main character, you can't do anything without her. πŸ‘‘
  • Shishi_asn1 node β€” the ASN.1 data that has the field you wanna extract. that's the thing you're peeking at. πŸ”
  • FILE * fh β€” the file descriptor you're printing to. like stdout, if you're feeling basic (and honestly? valid). πŸ’–

⭐ DESCRIPTION ⭐

okay so here's the whole deal: shishi_asn1_print prints an ASN.1 structure in human readable form. that's it. that's the function.

and the vibe is very much typically for debugging purposes. it's giving "i have no idea what this blob of bytes is and i need to know Right Now." she's not here to be fancy, she's here to show you the goods in a way your brain can actually process. πŸ™ˆβœ¨

ngl this is the function you call at 2am when something is broken and you just want to see what's in there. it ate. πŸ“

πŸ’€ REPORTING BUGS πŸ’€

found a bug? first of all, not the vibe, but also: report it bestie, they wanna know!! 🫢


Copyright Β© 2002-2022 Simon Josefsson. πŸ’œ

and here's the legal tea, copied with love: 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 like β€” go off, share it, remix it, just keep the receipts. periodt. πŸ’…


🌈 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, then this command:

info shishi

should give you access to the complete manual. that's the whole lore drop right there, iykyk πŸ“šβœ¨


mwah πŸ’‹ that's the page!! this one's from shishi 1.0.3, and yeah, shishi_asn1_print(3) is the girl. go print some ASN.1 and slay. πŸ§šβ€β™€οΈπŸ’–πŸ”₯