auth_ntlm.c File Reference


Detailed Description

Implementation for digest authentication.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>
Date:
Created: Thu Feb 22 12:10:37 2001 ppessi

#include "config.h"
#include <string.h>
#include <stdarg.h>
#include <assert.h>
#include <sofia-sip/su_md5.h>
#include "sofia-sip/auth_digest.h"
#include "sofia-sip/auth_ntlm.h"
#include "iptsec_debug.h"

Include dependency graph for auth_ntlm.c:


Functions

issize_t auth_ntlm_challenge_get (su_home_t *home, auth_challenge_t *ac0, char const *const params[])
 Get ntlm-challenge parameters.
issize_t auth_ntlm_response_get (su_home_t *home, auth_response_t *ar0, char const *const params[])
 Get ntlm-response parameters.

Function Documentation

issize_t auth_ntlm_challenge_get ( su_home_t home,
auth_challenge_t ac0,
char const *const   params[] 
)

Get ntlm-challenge parameters.

The function ntlm_challenge_get() searches for the ntlm authentication parameters in params. The parameters are assigned to the appropriate fields in ac structure.

Returns:
The function ntlm_challenge_get() returns number of parameters found, or -1 upon an error.

issize_t auth_ntlm_response_get ( su_home_t home,
auth_response_t ar0,
char const *const   params[] 
)

Get ntlm-response parameters.

The function auth_response_get() searches for the ntlm authentication parameters in params. The parameters are assigned to the appropriate fields in ar structure.

Returns:
The function auth_response_get() returns number of parameters found, or -1 upon an error.


Sofia-SIP 1.12.6 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.