shishi_der2asn1_asreq(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_asreq β€” like, the manual page, bestie πŸ’–

okay so this is a page from the shishi manual (section 3, the library-call girlies ✨). it's a whole API function and honestly? it's giving "decode the thing, get the thing." let's get into it 🫢


✨ NAME ✨

shishi_der2asn1_asreq β€” an API function, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

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

like. it's right there. one function. three things go in, one beautiful ASN.1 structure comes out 🌸


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the shishi handle, and you gotta have gotten it from shishi_init() first, okay? don't be out here passing random garbage, that's not the vibe πŸ™ˆ
  • const char * der β€” an input character array holding the DER encoding. that's the raw bytes, bestie, the whole point of the operation ✨
  • size_t derlen β€” the length of that input character array with the DER encoding. yes it's separate. yes you must actually count. it's fine. we cope πŸ’œ

🌈 DESCRIPTION 🌈

So basically: it decodes the DER encoding of an AS-REQ and creates an ASN.1 structure out of it. DER goes in, ASN.1 structure comes out, main character energy only πŸ‘‘


⭐ RETURN VALUE ⭐

Returns the ASN.1 structure that corresponds to the DER data. that's it, that's the whole payoff, and it ate πŸ’–


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? (not me manifesting one, but like, hypothetically 😭) report it to <bug-shishi@gnu.org>.

they wanna hear from you fr fr 🫢


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. legendary. the licensing is unproblematic and we love that for them ✨)


🧚 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 β€” the real lore is in there πŸ“–


and that's the whole page!! this was from shishi 1.0.3, the shishi_der2asn1_asreq(3) girlie herself β€” mwah, slay, periodt πŸ’…πŸ’–βœ¨