shishi_der2asn1_methoddata(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_methoddata(3) β€” the shishi girlies' guide πŸ’–

okay bestie, welcome to the shishi section of the manual, page shishi_der2asn1_methoddata(3). this is the one that takes your DER-encoded bytes and hands you back a whole ASN.1 structure. it's giving glow-up, honestly. πŸ¦‹


✨ NAME ✨

shishi_der2asn1_methoddata β€” it's an API function, and it's lowkey iconic for it πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

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

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, aka the one you got from shishi_init(). no handle, no service, periodt. ✨
  • const char * der β€” an input character array holding the DER encoding. that's the raw material, the little byte bestie we're about to decode. πŸ“
  • size_t derlen β€” the length of that input character array with the DER encoding. yes, you have to tell it how long it is. it's not psychic, it's a C function. 😭

πŸ‘‘ DESCRIPTION πŸ‘‘

Decode DER encoding of METHOD-DATA and create a ASN.1 structure.

that's it, that's the whole plot. you hand over the DER bytes, it does its little decode dance, and you get an ASN.1 structure out the other side. main character energy fr fr. πŸ”₯


🌈 RETURN VALUE 🌈

Returns ASN.1 structure corresponding to DER data.

so like, the ASN.1 structure that matches your DER data. matching set, no cap. πŸ’œ


πŸ’€ REPORTING BUGS πŸ’€

found a bug? don't suffer in silence, bestie, tell the people:

Report bugs to <bug-shishi@gnu.org>.

ok but fr, they want to hear about it. bugs hate being ignored more than you hate being left on read. 🫢

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, go ahead and share it, just keep the receipts attached. that's the whole deal. πŸŽ€


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

run it. read it. become unstoppable. iykyk. ⭐

and that's the page, bestie!! this was shishi version 1.0.3, page shishi_der2asn1_methoddata(3), and no date on the tin because apparently we live in the moment here. πŸ’…βœ¨ slay, go decode something. πŸ¦‹πŸ’–