shishi_as_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_as_rep_der(3) ✨

okay bestie, gather round, because we're diving into the shishi manual and this page is literally about turning an AS-REP into DER bytes πŸ’… (yes, that's the whole vibe, and yes, it slays)


🌸 NAME 🌸

shishi_as_rep_der β€” an API function, and honestly? iconic for it πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

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

πŸ’– ARGUMENTS πŸ’–

  • Shishi_as * as β€” the structure that's holding all the info about your AS exchange. she's the main character here, keep her safe 🫢
  • char ** out β€” the output array that gets the newly allocated DER encoding of the AS-REP. fresh, new, hers 🌈
  • size_t * outlen β€” the length of that output array with the DER encoding of AS-REP. so you know exactly how big the vibe is πŸ“

🌟 DESCRIPTION 🌟

DER encode AS-REP. that's it, that's the job ✨

out is allocated by this function β€” so like, she made it, she owns it β€” and it is the responsibility of caller to deallocate it. so bestie, when you're done, YOU free it. no leaving her hanging in memory, that's not the energy we're bringing 😭


πŸ‘‘ RETURN VALUE πŸ‘‘

Returns SHISHI_OK iff successful. that's the only success code, periodt πŸ’…


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not me getting emotionally attached to a Kerberos library but here we are. 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, copy it, remix it, redistribute it, 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, go read it, it's giving ✨ complete ✨


and that's the whole page bestie!! πŸ’œ this one came from shishi, version 1.0.3, and it's the shishi_as_rep_der(3) page β€” no cap, go encode some AS-REP and remember to free() 🫢🌸