shishi_der2asn1_padata(3)
π shishi_der2asn1_padata β bestie edition
okay so we're in the shishi manual, section 3, and today's main character is shishi_der2asn1_padata. yes it's an API function. no it's not scary. come sit with me π«Ά
β¨ NAME β¨
shishi_der2asn1_padata β it's an API function, periodt.
π SYNOPSIS π
#include <shishi.h>
Shishi_asn1 shishi_der2asn1_padata(Shishi * handle, const char * der,
size_t derlen);
like... she's giving "one function, three args, no drama". iconic.
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the whole vibe, you can't do anything without her πconst char * derβ the input character array holding the DER encoding. literally just a bundle of bytes waiting to be understood.size_t derlenβ how long that input character array with the DER encoding actually is. length check, bestie, always. π
π¦ DESCRIPTION π¦
So what does she do? She decodes the DER encoding of PA-DATA and creates an ASN.1 structure out of it. that's it. that's the whole job. lowkey elegant, highkey useful. β¨
β RETURN VALUE β
She returns the ASN.1 structure that corresponds to the DER data. you get the thing. π
π REPORTING BUGS π
Found a bug? don't suffer in silence, bestie, 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/
fr fr they wanna hear from you π
π 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: go off, remix it, just keep the receipts π§Ύ)
πΈ 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. iykyk β that's where the deep lore lives π
that's the whole page, and ngl she ate. this was shishi_der2asn1_padata(3) from shishi version 1.0.3 β mwah, 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