|
VLC 4.0.0-dev
|
Macros | |
| #define | AuthGetParam(HEADER, PARAM) AuthGetParamConcat( HEADER, PARAM "=\"" ) |
| #define | AuthGetParamNoQuotes(HEADER, PARAM) AuthGetParamNoQuotesConcat( HEADER, PARAM "=" ) |
Functions | |
| static char * | AuthGetParamConcat (const char *psz_header, const char *psz_what) |
| static char * | AuthGetParamNoQuotesConcat (const char *psz_header, const char *psz_what) |
| static char * | GenerateCnonce (void) |
| static char * | AuthDigest (vlc_object_t *p_this, vlc_http_auth_t *p_auth, const char *psz_method, const char *psz_path, const char *psz_username, const char *psz_password) |
| void | vlc_http_auth_ParseWwwAuthenticateHeader (vlc_object_t *p_this, vlc_http_auth_t *p_auth, const char *psz_header) |
| int | vlc_http_auth_ParseAuthenticationInfoHeader (vlc_object_t *p_this, vlc_http_auth_t *p_auth, const char *psz_header, const char *psz_method, const char *psz_path, const char *psz_username, const char *psz_password) |
| char * | vlc_http_auth_FormatAuthorizationHeader (vlc_object_t *p_this, vlc_http_auth_t *p_auth, const char *psz_method, const char *psz_path, const char *psz_username, const char *psz_password) |
| void | vlc_http_auth_Init (vlc_http_auth_t *p_auth) |
| void | vlc_http_auth_Deinit (vlc_http_auth_t *p_auth) |
| #define AuthGetParam | ( | HEADER, | |
| PARAM | |||
| ) | AuthGetParamConcat( HEADER, PARAM "=\"" ) |
| #define AuthGetParamNoQuotes | ( | HEADER, | |
| PARAM | |||
| ) | AuthGetParamNoQuotesConcat( HEADER, PARAM "=" ) |
|
static |
References vlc_http_auth_t::i_nonce, msg_Warn, vlc_http_auth_t::psz_algorithm, vlc_http_auth_t::psz_cnonce, vlc_http_auth_t::psz_HA1, vlc_http_auth_t::psz_nonce, vlc_http_auth_t::psz_qop, vlc_http_auth_t::psz_realm, strdup(), vlc_hash_FinishHex, VLC_HASH_MD5_DIGEST_HEX_SIZE, vlc_hash_md5_Init(), and vlc_hash_md5_Update().
Referenced by vlc_http_auth_FormatAuthorizationHeader(), and vlc_http_auth_ParseAuthenticationInfoHeader().
|
static |
|
static |
|
static |
References unlikely, vlc_hash_FinishHex, VLC_HASH_MD5_DIGEST_HEX_SIZE, vlc_hash_md5_Init(), vlc_hash_md5_Update(), and vlc_rand_bytes().
Referenced by vlc_http_auth_FormatAuthorizationHeader().
| void vlc_http_auth_Deinit | ( | vlc_http_auth_t * | p_auth | ) |
| char * vlc_http_auth_FormatAuthorizationHeader | ( | vlc_object_t * | p_this, |
| vlc_http_auth_t * | p_auth, | ||
| const char * | psz_method, | ||
| const char * | psz_path, | ||
| const char * | psz_username, | ||
| const char * | psz_password | ||
| ) |
| void vlc_http_auth_Init | ( | vlc_http_auth_t * | p_auth | ) |
| int vlc_http_auth_ParseAuthenticationInfoHeader | ( | vlc_object_t * | p_this, |
| vlc_http_auth_t * | p_auth, | ||
| const char * | psz_header, | ||
| const char * | psz_method, | ||
| const char * | psz_path, | ||
| const char * | psz_username, | ||
| const char * | psz_password | ||
| ) |
| void vlc_http_auth_ParseWwwAuthenticateHeader | ( | vlc_object_t * | p_this, |
| vlc_http_auth_t * | p_auth, | ||
| const char * | psz_header | ||
| ) |