shishi_der2asn1(3)
β¨ shishi_der2asn1 β¨
okay bestie so this is a page from the shishi manual β section 3, library calls, the good stuff π
β and it's literally just one tiny little function that does one tiny little glow-up. buckle up, it's a short one π
πΈ NAME πΈ
shishi_der2asn1 β the API function that turns your raw DER bytes into a whole ASN.1 situation π
π¦ SYNOPSIS π¦
#include <shishi.h>
Shishi_asn1 shishi_der2asn1(Shishi * handle, const char * der, size_t
derlen);
π ARGUMENTS π
Shishi * handleβ your shishi handle, bestie. the one you got fromshishi_init(). no handle, no party πconst char * derβ the input character array holding the DER encoding. this is the raw material, the before-picture πΈsize_t derlenβ the length of that input character array with the DER encoding. like, how many bytes are we talking. you gotta tell her π«Ά
π DESCRIPTION π
okay so the whole vibe here: you hand her arbitrary DER data from a packet, and she converts it into an ASN.1 type. that's it. that's the function. she takes the chaotic little byte blob and gives it structure, main character energy fr fr β¨
β RETURN VALUE β
she returns a newly allocated ASN.1 thing corresponding to your DER data π
and if it doesn't work out? she returns NULL. on failure. that's the whole story π
π REPORTING BUGS π
found a bug? not the vibe. report it 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.
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. (iconic of them honestly, no notes π«Ά)
π§ SEE ALSO π§
the full documentation for shishi is maintained as a Texinfo manual β yes, a whole manual, she's thorough like that π
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 page, bestie!! this one's from shishi version 1.0.3, filed under shishi_der2asn1(3) β mwah, go convert some DER, 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