shishi_as_req_der(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_as_req_der(3) β€” the shishi manual, bestie edition πŸ’–

okay so you're in the shishi section 3 manual pages, and today's main character is shishi_as_req_der. she's an API function. she's little. she's powerful. let's get into it πŸŽ€


✨ NAME ✨

shishi_as_req_der β€” API function πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_as_req_der(Shishi_as * as, char ** out, size_t * outlen);

look at her. three args. no drama. iconic.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi_as * as β€” this is the structure that holds all the info about the AS exchange. she's the whole vibe container, yk? everything you need to know about the exchange lives in here πŸ’œ
  • char ** out β€” this is your output array, and it's gonna get the newly allocated DER encoding of AS-REQ dropped into it ✨ freshly allocated, just for you.
  • size_t * outlen β€” the length of that output array with the DER encoding of AS-REQ. so like, how many bytes. the receipts πŸ“

🧚 DESCRIPTION 🧚

DER encode AS-REQ. that's it, that's the job 🫢

okay but the important part: out is allocated by this function. which means you, the caller, are responsible for deallocating it. that's your task now. not hers. hers is done. don't ghost that memory bestie, fr fr 😭


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. that's the only vibe check that matters. anything else? not successful. periodt.


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't be shy, tell the people:

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.

(translation: share it, remix it, just keep the receipts. slay.)


🌈 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, it's giving ✨ comprehensive ✨


and that's the page!! this was shishi_as_req_der(3), hanging out in the shishi manual, version 1.0.3 πŸ’– thanks for reading, mwah πŸŽ€