> -----Original Message-----
> From: Attila Sipos [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 05, 2001 10:54 AM
> To: [EMAIL PROTECTED]
> Subject: [Sip-implementors] REGISTRATION with authorization.
> H(entity-body)?
> 
> 
> Hi,
> 
> We're trying to implement registration with
> digest authorization.
> 
> 
> The specification for the authorization is in
> RFC 2617 (HTTP Authentication: Basic and Digest
> Access Authentication).
> 
> The section regarding calculation of A2 says:
> 
> 3.2.2.3 A2
> 
>    If the "qop" directive's value is "auth" or is unspecified, then A2
>    is:
> 
>       A2       = Method ":" digest-uri-value
> 
>    If the "qop" value is "auth-int", then A2 is:
> 
>       A2       = Method ":" digest-uri-value ":" H(entity-body)
> 
> 
> I believe that I am right in saying that the H(x) function
> is simply the MD5 (RFC1321) hashing function. 

Yes.

> But what
> does "entity-body" refer to?

Entity body is the body of the message. For SIP, that is usually the SDP.

-Jonathan R.

---
Jonathan D. Rosenberg                       72 Eagle Rock Ave.
Chief Scientist                             First Floor
dynamicsoft                                 East Hanover, NJ 07936
[EMAIL PROTECTED]                     FAX:   (973) 952-5050
http://www.cs.columbia.edu/~jdrosen         PHONE: (973) 952-5000
http://www.dynamicsoft.com
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to