#include <gsasl.h>Go to the source code of this file.
Defines | |
| #define | GSASL_GS2_KRB5_NAME "GS2-FNUO57PLKGM5XHGE" |
Functions | |
| int | _gsasl_gs2_client_start (Gsasl_session *sctx, void **mech_data) |
| int | _gsasl_gs2_client_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
| void | _gsasl_gs2_client_finish (Gsasl_session *sctx, void *mech_data) |
| int | _gsasl_gs2_client_encode (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
| int | _gsasl_gs2_client_decode (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
| int | _gsasl_gs2_server_start (Gsasl_session *sctx, void **mech_data) |
| int | _gsasl_gs2_server_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
| void | _gsasl_gs2_server_finish (Gsasl_session *sctx, void *mech_data) |
Variables | |
| Gsasl_mechanism | gsasl_gs2_krb5_mechanism |
| int _gsasl_gs2_client_decode | ( | Gsasl_session * | sctx, | |
| void * | mech_data, | |||
| const char * | input, | |||
| size_t | input_len, | |||
| char ** | output, | |||
| size_t * | output_len | |||
| ) |
Definition at line 351 of file gs2/client.c.
References _gsasl_gs2_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_gs2_client_state::qop, and _gsasl_gs2_client_state::step.
| int _gsasl_gs2_client_encode | ( | Gsasl_session * | sctx, | |
| void * | mech_data, | |||
| const char * | input, | |||
| size_t | input_len, | |||
| char ** | output, | |||
| size_t * | output_len | |||
| ) |
Definition at line 296 of file gs2/client.c.
References _gsasl_gs2_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_gs2_client_state::qop, and _gsasl_gs2_client_state::step.
| void _gsasl_gs2_client_finish | ( | Gsasl_session * | sctx, | |
| void * | mech_data | |||
| ) |
Definition at line 278 of file gs2/client.c.
References _gsasl_gs2_client_state::context, and _gsasl_gs2_client_state::service.
| int _gsasl_gs2_client_start | ( | Gsasl_session * | sctx, | |
| void ** | mech_data | |||
| ) |
Definition at line 61 of file gs2/client.c.
References _gsasl_gs2_client_state::context, GSASL_MALLOC_ERROR, GSASL_OK, GSASL_QOP_AUTH, _gsasl_gs2_client_state::qop, _gsasl_gs2_client_state::service, and _gsasl_gs2_client_state::step.
| int _gsasl_gs2_client_step | ( | Gsasl_session * | sctx, | |
| void * | mech_data, | |||
| const char * | input, | |||
| size_t | input_len, | |||
| char ** | output, | |||
| size_t * | output_len | |||
| ) |
Definition at line 80 of file gs2/client.c.
References _gsasl_gs2_client_state::context, gs2_token::context_length, gs2_token::context_token, gs2_encode(), gs2_parser(), 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, p, q, _gsasl_gs2_client_state::qop, _gsasl_gs2_client_state::service, _gsasl_gs2_client_state::step, and gs2_token::wrap_length.
| void _gsasl_gs2_server_finish | ( | Gsasl_session * | sctx, | |
| void * | mech_data | |||
| ) |
Definition at line 283 of file gs2/server.c.
References _Gsasl_gs2_server_state::client, _Gsasl_gs2_server_state::context, and _Gsasl_gs2_server_state::cred.
| int _gsasl_gs2_server_start | ( | Gsasl_session * | sctx, | |
| void ** | mech_data | |||
| ) |
Definition at line 61 of file gs2/server.c.
References _Gsasl_gs2_server_state::client, _Gsasl_gs2_server_state::context, _Gsasl_gs2_server_state::cred, 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(), GSASL_SERVICE, and _Gsasl_gs2_server_state::step.
| int _gsasl_gs2_server_step | ( | Gsasl_session * | sctx, | |
| void * | mech_data, | |||
| const char * | input, | |||
| size_t | input_len, | |||
| char ** | output, | |||
| size_t * | output_len | |||
| ) |
Definition at line 123 of file gs2/server.c.
References _Gsasl_gs2_server_state::client, _Gsasl_gs2_server_state::context, gs2_token::context_length, gs2_token::context_token, _Gsasl_gs2_server_state::cred, gs2_encode(), gs2_parser(), GSASL_AUTHZID, gsasl_callback(), GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR, GSASL_GSSAPI_DISPLAY_NAME, GSASL_GSSAPI_DISPLAY_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_MALLOC_ERROR, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, GSASL_MECHANISM_PARSE_ERROR, GSASL_NEEDS_MORE, gsasl_property_set_raw(), GSASL_QOP_AUTH, GSASL_VALIDATE_GSSAPI, and _Gsasl_gs2_server_state::step.
Definition at line 30 of file gs2/mechinfo.c.
1.5.6