shishi_der2asn1_padata(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… 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 from shishi_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 Β© 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 πŸ’…πŸŽ€πŸ¦‹