shishi_der2asn1_encprivpart(3)
π shishi_der2asn1_encprivpart β the glow-up page π
okay bestie, so this is a page from the shishi manual (section 3, library functions, iykyk) and it's all about one lil function called shishi_der2asn1_encprivpart. she's a decoder girlie. let's get into it π
β¨ NAME β¨
shishi_der2asn1_encprivpart β literally just an API function, no cap πΈ
π SYNOPSIS π
#include <shishi.h>
Shishi_asn1 shishi_der2asn1_encprivpart(Shishi * handle, const char *
der, size_t derlen);
yes the line break in the middle of the parameter list is canon, we don't fix what we don't have to π
π¦ ARGUMENTS π¦
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the main character, everything runs through her β¨const char * derβ the input character array holding the DER encoding. that's the raw bytes, bestie, coming in hot π₯size_t derlenβ the length of that input character array with the DER encoding. because a char array without a length is giving mystery novel and we don't do that π
π DESCRIPTION π
so what does she actually do? she decodes the DER encoding of EncKrbPrivPart and creates a ASN.1 structure out of it. that's it. that's the whole vibe. DER goes in, ASN.1 structure comes out, slay π«Ά
β RETURN VALUE β
she returns the ASN.1 structure corresponding to the DER data. that's your prize, go off π
π REPORTING BUGS π
found a bug? not me being dramatic but pls report it, the devs 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.
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, keep the receipts, bestie π§
π 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. iconic behaviour honestly πΈ
and that's the whole page, bestie!! this one's from shishi version 1.0.3, section 3, page shishi_der2asn1_encprivpart(3) β go decode something pretty π
β¨π¦
π¦ 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