Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

auth_digest.h File Reference

Detailed Description

Defined when <sofia-sip/auth_digest.h> has been included. Datatypes and functions for Digest authentication.

The structures and functions here follow the RFC 2617.

See also:
, "HTTP Authentication: Basic and Digest Access Authentication", J. Franks et al, June 1999.

section 22

Pekka Pessi <Pekka.Pessi@nokia.com>
Created: Thu Feb 22 12:25:55 2001 ppessi

Definition in file auth_digest.h.

#include <sofia-sip/su_alloc.h>

Go to the source code of this file.


struct  auth_challenge_t
struct  auth_response_t


typedef char auth_hexmd5_t [33]


SOFIAPUBFUN int auth_digest_a1 (auth_response_t *ar, auth_hexmd5_t ha1, char const *secret)
SOFIAPUBFUN int auth_digest_a1sess (auth_response_t *ar, auth_hexmd5_t ha1sess, char const *ha1)
SOFIAPUBFUN void auth_digest_challenge_free_params (su_home_t *home, auth_challenge_t *ac)
SOFIAPUBFUN issize_t auth_digest_challenge_get (su_home_t *, auth_challenge_t *, char const *const params[])
SOFIAPUBFUN int auth_digest_response (auth_response_t *, auth_hexmd5_t response, auth_hexmd5_t const ha1, char const *method_name, void const *data, isize_t dlen)
SOFIAPUBFUN issize_t auth_digest_response_get (su_home_t *, auth_response_t *, char const *const params[])
SOFIAPUBFUN int auth_digest_sessionkey (auth_response_t *, auth_hexmd5_t ha1, char const *secret)
SOFIAPUBFUN int auth_strcmp (char const *quoted, char const *unquoted)
SOFIAPUBFUN int auth_struct_copy (void *dst, void const *src, isize_t s_size)

Generated by  Doxygen 1.6.0   Back to index