shishi_der2asn1_etype_info2(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_etype_info2 β€” the glow-up decoder ✨

okay bestie, so this one lives in the shishi manual (section 3, the library-call girlies πŸŽ€), and it's literally the moment a pile of raw DER bytes gets to become a whole ASN.1 structure. it's giving transformation arc. πŸ’…


✨ SYNOPSIS ✨

#include <shishi.h>

Shishi_asn1 shishi_der2asn1_etype_info2(Shishi * handle, const char * der,
                                        size_t derlen);

like yes, two args and a handle, we love a compact signature 🫢


🌸 ARGUMENTS 🌸

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). no handle, no party. πŸ’œ
  • const char * der β€” the input character array holding the DER encoding. that's the raw bytes, bestie, don't get cute with it.
  • size_t derlen β€” how long that input character array with the DER encoding actually is. length matters, always. πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

Decode DER encoding of ETYPE-INFO2 and create a ASN.1 structure.

that's the whole vibe: DER bytes go in, ASN.1 structure comes out. it's a glow-up, no cap. ✨


πŸ’– RETURN VALUE πŸ’–

Returns ASN.1 structure corresponding to DER data.

so like, you hand it the encoded stuff, you get the structured version back. iconic behaviour, honestly. πŸ‘‘


😭 REPORTING BUGS 😭

found a bug? don't suffer in silence, tell the devs!

fr fr, if something's broken, report it β€” that's how the project stays slaying. πŸ›

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.

like, copy it, remix it, redistribute it, just keep the receipts (the copyright notice and this notice) attached. periodt. πŸ’…


🌈 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.

go read it, iykyk πŸ“š


kay that's the whole page, bestie β€” this was shishi version 1.0.3, the shishi_der2asn1_etype_info2(3) entry, and yes it's a whole main character. now go decode something. mwah πŸ«ΆπŸ’–