[SIPForum-discussion] The Digest Authentication Scheme for SIP UAC

Robert Sparks rjsparks at nostrum.com
Thu Jan 18 16:45:14 UTC 2007


Reread section 22.4 in RFC3261 (and follow its reference to RFC2617).

RjS

On Jan 18, 2007, at 6:16 AM, harish T wrote:

> Hi friends,
>
> I am trying to created MD5 Digest by using the challange sent by  
> server.But i am not able to get the Exact responce value for   
> responce header .
>
> I read 3261rfc..there i  have not found information about the  
> parameters which should be used for creating value for responce  
> Hearder...
>
> i found one example in wikipedia.com...for http not for SIP.
>
> For Http they are using following procedure for creating MD5 value ...
> HA1 = MD5( "USER_NAME
> :DOMINE_NAME at host.com:PASSWORD" )
>         = 939e7578ed9e3c518a452acee763bce9
>
>
>     HA2 = MD5( "GET:/dir/index.html" )
>         = 39aff3a2bab6126f332b942af96d3366
>
>     Response = MD5( "939e7578ed9e3c518a452acee763bce9:\
>                      NONCE
> :\
>                      NC:CNONCE:QOP:\
>                      39aff3a2bab6126f332b942af96d3366" )
>
>              = 6629fae49393a05397450978507c4ef1
> This procedure is for HTTP method....
>
> Can anyone please tell me the syntax or parameter which should be  
> used for creating Responce header....
>
> I tryed using same procedure as followed by Http by replacing http  
> method name to SIP (as suggested in rfc 3261)..but the response  
> value is not matching...
>
> Can any one please send me exact syntax used for creating response  
> value using the challenge sent by server
>
>
> -- 
> ------------------------------------------------------
> To accomplish great things, we must not only act, but also dream;  
> not only plan, but also believe.
>
>
>
> With regards
> Harish.T
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit http:// 
> sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20070118/9595295c/attachment-0002.html>


More information about the discussion mailing list