shishi_der2asn1_encprivpart(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_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 from shishi_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 Β© 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 πŸ’…βœ¨πŸ¦‹