shishi_as_rep_der(3)
β¨ 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 π
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() π«ΆπΈ
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms