shishi_der2asn1_etype_info(3)
β¨ shishi_der2asn1_etype_info β¨
okay bestie, pull up a chair π this one's from the shishi manual, section 3 (that's the library-functions section, iykyk), and it's literally just a lil decoder function that turns DER bytes into an ASN.1 struct. no cap. it's giving "glorified translation service" and honestly? we love her for it π
πΈ NAME πΈ
shishi_der2asn1_etype_info β an API function, periodt. that's it, that's the whole name, she's not hiding anything π
π¦ SYNOPSIS π¦
#include <shishi.h>
Shishi_asn1 shishi_der2asn1_etype_info(Shishi * handle, const char *
der, size_t derlen);
like, include the header, call the function, get a Shishi_asn1 back. simple as π
π ARGUMENTS π
Shishi * handleβ the shishi handle, allocated byshishi_init(). bestie you gotta have a handle first, this function does not spawn one for you πconst char * derβ input character array with the DER encoding. yes, it's achar *even though it's binary data, that's just how it is, don't @ me πsize_t derlenβ length of input character array with DER encoding. tell her how big the blob is, she cannot read minds π
π DESCRIPTION π
Decode DER encoding of ETYPE-INFO and create an ASN.1 structure.
that's the whole vibe. you hand her the DER bytes, she hands you back the ASN.1 glow-up β¨ it's giving glow-up montage, it's giving makeover scene, it's giving decoding π
β RETURN VALUE β
Returns ASN.1 structure corresponding to DER data. so like, the structure, matching your data. that's the return, that's the whole thing, go off π
π REPORTING BUGS π
found a bug? spill the tea, not to me, to the maintainers:
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/
fr fr, they wanna hear it π«Ά
π COPYRIGHT π
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.
like, go ahead, copy it, remix it, distribute it, just keep the receipts (the copyright notice and this notice) attached π iconic behaviour honestly.
π§ 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. the whole lore, the deep cuts, the extended universe π
lowkey important: if that info shishi command doesn't work, your info/shishi install is not "properly installed at your site" and that's a whole other side quest bestie π
and that's the page!! this was shishi version 1.0.3, from the shishi_der2asn1_etype_info(3) manual page, and if you made it this far you're a real one π mwah, go decode something cute πβ¨π¦
π¦ 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