shishi_der2asn1_aprep(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_aprep β€” the glow-up page (shishi manual, section 3) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about shishi_der2asn1_aprep from the shishi manual. it's giving "tiny function, huge main character energy" ✨


✨ NAME ✨

shishi_der2asn1_aprep β€” an API function, and yes that's the whole job description πŸŽ€


🌸 SYNOPSIS 🌸

#include <shishi.h>

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

like. that's it. that's the whole vibe. three args and a dream πŸ¦‹


🫢 ARGUMENTS 🫢

  • Shishi * handle β€” the shishi handle, and you get one by calling shishi_init(). no handle, no service, periodt πŸ’…
  • const char * der β€” your input character array, but make it DER-encoded. this is the raw material, the lewk, the whole point πŸ™ˆ
  • size_t derlen β€” the length of that input character array full of DER encoding. bestie does NOT guess sizes, you tell her exactly how much πŸ“

πŸ’œ DESCRIPTION πŸ’œ

so what does it DO? it decodes the DER encoding of an AP-REP and creates an ASN.1 structure out of it. that's the entire arc. DER in, ASN.1 structure out, no cap πŸ”₯


⭐ RETURN VALUE ⭐

it returns the ASN.1 structure that corresponds to your DER data. she hands you the structure and expects you to say thank you πŸŽ€


πŸ’€ REPORTING BUGS πŸ’€

found a bug? (not me manifesting one, but hypothetically πŸ™ˆ) report it to <bug-shishi@gnu.org>.


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. iconic of them honestly πŸ’–


🌈 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 πŸ“–βœ¨


and that's the whole page, bestie β€” shishi 1.0.3, page shishi_der2asn1_aprep(3), sourced straight from the shishi manual, no notes, no edits, just vibes πŸ’…πŸ¦‹πŸ’–