#include <gsasl.h>
Go to the source code of this file.
Defines | |
#define | GSASL_GSSAPI_NAME "GSSAPI" |
Functions | |
int | _gsasl_gssapi_client_start (Gsasl_session *sctx, void **mech_data) |
int | _gsasl_gssapi_client_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
void | _gsasl_gssapi_client_finish (Gsasl_session *sctx, void *mech_data) |
int | _gsasl_gssapi_client_encode (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
int | _gsasl_gssapi_client_decode (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
int | _gsasl_gssapi_server_start (Gsasl_session *sctx, void **mech_data) |
int | _gsasl_gssapi_server_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
void | _gsasl_gssapi_server_finish (Gsasl_session *sctx, void *mech_data) |
Variables | |
Gsasl_mechanism | gsasl_gssapi_mechanism |
#define GSASL_GSSAPI_NAME "GSSAPI" |
Definition at line 28 of file x-gssapi.h.
int _gsasl_gssapi_client_decode | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 330 of file gssapi/client.c.
References _Gsasl_gssapi_client_state::context, GSASL_GSSAPI_RELEASE_BUFFER_ERROR, GSASL_GSSAPI_UNWRAP_ERROR, GSASL_MALLOC_ERROR, GSASL_OK, GSASL_QOP_AUTH_CONF, GSASL_QOP_AUTH_INT, _Gsasl_gssapi_client_state::qop, and _Gsasl_gssapi_client_state::step.
int _gsasl_gssapi_client_encode | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 275 of file gssapi/client.c.
References _Gsasl_gssapi_client_state::context, GSASL_GSSAPI_RELEASE_BUFFER_ERROR, GSASL_GSSAPI_WRAP_ERROR, GSASL_MALLOC_ERROR, GSASL_OK, GSASL_QOP_AUTH_CONF, GSASL_QOP_AUTH_INT, _Gsasl_gssapi_client_state::qop, and _Gsasl_gssapi_client_state::step.
void _gsasl_gssapi_client_finish | ( | Gsasl_session * | sctx, | |
void * | mech_data | |||
) |
Definition at line 257 of file gssapi/client.c.
References _Gsasl_gssapi_client_state::context, and _Gsasl_gssapi_client_state::service.
int _gsasl_gssapi_client_start | ( | Gsasl_session * | sctx, | |
void ** | mech_data | |||
) |
Definition at line 59 of file gssapi/client.c.
References GSASL_MALLOC_ERROR, GSASL_OK, and GSASL_QOP_AUTH.
int _gsasl_gssapi_client_step | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 78 of file gssapi/client.c.
References _Gsasl_gssapi_client_state::context, GSASL_AUTHID, GSASL_GSSAPI_IMPORT_NAME_ERROR, GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR, GSASL_GSSAPI_RELEASE_BUFFER_ERROR, GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR, GSASL_GSSAPI_UNWRAP_ERROR, GSASL_GSSAPI_WRAP_ERROR, GSASL_HOSTNAME, GSASL_MALLOC_ERROR, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, GSASL_MECHANISM_PARSE_ERROR, GSASL_NEEDS_MORE, GSASL_NO_AUTHID, GSASL_NO_HOSTNAME, GSASL_NO_SERVICE, GSASL_OK, gsasl_property_get(), GSASL_SERVICE, _Gsasl_gssapi_client_state::qop, _Gsasl_gssapi_client_state::service, and _Gsasl_gssapi_client_state::step.
void _gsasl_gssapi_server_finish | ( | Gsasl_session * | sctx, | |
void * | mech_data | |||
) |
Definition at line 267 of file gssapi/server.c.
References _Gsasl_gssapi_server_state::client, _Gsasl_gssapi_server_state::context, and _Gsasl_gssapi_server_state::cred.
int _gsasl_gssapi_server_start | ( | Gsasl_session * | sctx, | |
void ** | mech_data | |||
) |
Definition at line 59 of file gssapi/server.c.
References GSASL_GSSAPI_ACQUIRE_CRED_ERROR, GSASL_GSSAPI_IMPORT_NAME_ERROR, GSASL_HOSTNAME, GSASL_MALLOC_ERROR, GSASL_NO_HOSTNAME, GSASL_NO_SERVICE, GSASL_OK, gsasl_property_get(), and GSASL_SERVICE.
int _gsasl_gssapi_server_step | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 121 of file gssapi/server.c.
References _Gsasl_gssapi_server_state::client, _Gsasl_gssapi_server_state::context, _Gsasl_gssapi_server_state::cred, GSASL_AUTHZID, gsasl_callback(), GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR, GSASL_GSSAPI_DISPLAY_NAME, GSASL_GSSAPI_DISPLAY_NAME_ERROR, GSASL_GSSAPI_RELEASE_BUFFER_ERROR, GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR, GSASL_GSSAPI_UNWRAP_ERROR, GSASL_GSSAPI_WRAP_ERROR, GSASL_MALLOC_ERROR, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, GSASL_NEEDS_MORE, gsasl_property_set_raw(), GSASL_QOP_AUTH, GSASL_VALIDATE_GSSAPI, and _Gsasl_gssapi_server_state::step.
Definition at line 30 of file gssapi/mechinfo.c.