SASL_DECODE - Online Linux Manual Page

Section : 3
Updated : November 08, 2018
Source : 2.1.27
Note : Cyrus SASL

NAMEsasl_decode − Cyrus SASL documentation

SYNOPSIS#include <sasl/sasl.h> int sasl_decode(sasl_conn_t *conn, const char * input, unsigned inputlen, const char ** output, unsigned * outputlen);

DESCRIPTION int sasl_decode(sasl_conn_t *conn,  const char * input,  unsigned inputlen,  const char ** output,  unsigned * outputlen);  sasl_decode decodes data received. After successful authentication this function should be called on all data received. It decodes the data from encrypted or signed form to plain data. If there was no security layer negotiated the output is identical to the input​. Parameters   • conn – is the SASL connection context • output – contains the decoded data and is allocated/freed by the library. • outputlen – length of output​. One should not give sasl_decode more data than the negotiated maxbufsize (see sasl_getprop(3)). Note that sasl_decode can succeed and outputlen can be zero. If this is the case simply wait for more data and call sasl_decode again.

RETURN VALUESASL callback functions should return SASL return codes. See sasl.h for a complete list. SASL_OK indicates success. Other return codes indicate errors and should be handled.

SEE ALSO­RFC 4422,:saslman:sasl(3), sasl_encode(3), sasl_errors(3)

AUTHORThe Cyrus Team

COPYRIGHT1993-2016, The Cyrus Team
0
Johanes Gumabo
Data Size   :   7,879 byte
man-sasl_decode.3Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   29 / 2,329,593
Visitor ID   :     :  
Visitor IP   :   216.73.216.66   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   20   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.