shishi_der2asn1_encasreppart(3)
π shishi_der2asn1_encasreppart π
okay bestie, so this is a page from the shishi manual, section 3 (that's the library-functions girlies), and it's all about one little function that turns bytes into vibes. no wait, into ASN.1. same energy tho. β¨
πΈ NAME πΈ
shishi_der2asn1_encasreppart β it's an API function, and yes that name is a whole mouthful, we love her anyway π
β¨ SYNOPSIS β¨
#include <shishi.h>
Shishi_asn1 shishi_der2asn1_encasreppart(Shishi * handle, const char *
der, size_t derlen);
like, copy that exactly, don't freestyle it π«Ά
π ARGUMENTS π
Shishi * handleβ the shishi handle, and you gotta have it allocated byshishi_init()first, no skipping that step bestie πconst char * derβ the input character array that's holding your DER encoding. that's the raw stuff you're feeding in.size_t derlenβ the length of that input character array with the DER encoding. yes, you have to tell it how long your bytes are. she doesn't guess. π
π¦ DESCRIPTION π¦
so what does she actually do? she decodes the DER encoding of EncASRepPart and creates an ASN.1 structure out of it. that's it, that's the whole plot. bytes go in, structure comes out, main character energy fr fr π
β RETURN VALUE β
Returns the ASN.1 structure corresponding to your DER data. iconic. she delivers. π
π REPORTING BUGS π
found a bug? not the vibe, but okay, tell the people:
- 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/
they're genuinely nice, i promise, go message them π
π 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.
(translation: keep the receipts, that's all she asks π«Ά)
π 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. like, the whole thing. the director's cut. π
and that's the page!! written by the shishi girlies, version 1.0.3, and yeah the manual name up top is literally just shishi and the function is shishi_der2asn1_encasreppart(3) β go decode something, bestie, you got this πβ¨π¦
π¦ 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