shishi_ap_rep_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_ap_rep_der πŸ’–

okay bestie, gather round, because we're doing the shishi_ap_rep_der(3) page from the shishi manual and it's honestly kind of a slay πŸŽ€


✨ NAME ✨

shishi_ap_rep_der β€” it's an API function, babes πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_ap_rep_der(Shishi_ap * ap, char ** out, size_t * outlen);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi_ap * ap β€” this is the struct that's holding all the tea about your AP exchange, like it literally keeps the info about it 🫢
  • char ** out β€” the output array, and inside it goes the freshly allocated DER encoding of AP-REP ✨
  • size_t * outlen β€” the length of that output array with the DER encoding of AP-REP, no cap πŸ“

πŸ’œ DESCRIPTION πŸ’œ

so what this does is build AP-REP using shishi_ap_rep_build() and then DER encode it. that's the whole vibe 🧚

and listen, out is allocated by this function, which means it is the caller's responsibility to deallocate it. yes queen, you. it's yours now. free it or it's giving memory leak πŸ’€


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff it's successful. that's it, that's the whole return πŸŽ€


😭 REPORTING BUGS 😭

found a bug? not the moment but okay. 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: go off, just keep the receipts 🧾)


🌈 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 page bestie, shishi version 1.0.3, shishi_ap_rep_der(3), mwah πŸ’…πŸ«Ά