Index Index for
Section 3
Index Alphabetical
listing for S
Bottom of page Bottom of
page

sasl_encode(3)

NAME

sasl_encode - Encode data for transport to authenticated host

SYNOPSIS

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

DESCRIPTION

sasl_encode encodes data to be sent to a remote host that has been successfully authenticated. If there is a negotiated security the data is signed/encrypted and the output should be sent without modification to the remote host. If there is no security layer the output is identical to the input.

RETURN VALUE

SASL_OK on success, SASL error code on failure.

CONFORMING TO

RFC 2222

SEE ALSO

sasl(3), sasl_decode(3), sasl_errors(3)

Index Index for
Section 3
Index Alphabetical
listing for S
Top of page Top of
page