gsasl_server_step_base64(3)
π NAME π
gsasl_server_step_base64 β bestie, this is an API function, and it's lowkey the β¨wrappedβ¨ version of a bigger one. iykyk.
π SYNOPSIS π
#include <gsasl.h>
int gsasl_server_step_base64(Gsasl_session * sctx, const char *
b64input, char * b64output, size_t b64output_len);
π¦ ARGUMENTS π¦
Gsasl_session * sctxβ the libgsasl server handle, aka your main character. she holds the session.const char * b64inputβ the input, which is a base64 encoded byte array. yes the whole thing is encoded, we are not playing.char * b64outputβ the output, also a base64 encoded byte array. she gives back what she got, but encoded.size_t b64output_lenβ the size of that output base64 encoded byte array. tell her how much room she has, she will not guess, no cap.
πΈ DESCRIPTION πΈ
okay so picture this: gsasl_server_step() is the real one doing the work, and this function is literally just her little sister showing up with a glow-up. this is a simple wrapper around gsasl_server_step() that base64 decodes the input and base64 encodes the output. that's it, that's the whole vibe. π
Return value: go check gsasl_server_step() β same energy, same return value. β¨
π DEPRECATED π
not me having to tell you this... bestie she's deprecated. π« use gsasl_step64() instead, fr fr. she served her time, let her rest.
π REPORTING BUGS π
found a bug? don't be shy, tell the devs! report bugs to <bug-gsasl@gnu.org>. π«Ά
general guidelines for reporting bugs live at: http://www.gnu.org/gethelp/
and the GNU SASL home page is right here: http://www.gnu.org/software/gsasl/ β go say hi. π
π COPYRIGHT π
Copyright Β© 2002-2021 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. (yes, that's the legal tea and it's actually very generous of them. slay. β)
π SEE ALSO π
the full documentation for gsasl is maintained as a Texinfo manual β she's thorough, we love that. if the info and gsasl programs are properly installed at your site, the command
info gsasl
should give you access to the complete manual. as an alternative you may obtain the manual from:
http://www.gnu.org/software/gsasl/manual/
and that's the whole page, bestie!! π this little legend comes to you from gsasl, version 1.10.0 β go forth and encode responsibly. mwah. ππ¦β¨
π¦ where this page comes from
- ubuntu jammy: libgsasl-dev 1.10.0-5 Β· 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