shishi_asn1_print(3)
π 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 fromshishi_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. likestdout, 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!! π«Ά
- 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. π
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. π§ββοΈππ₯
π¦ 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