HP-UX C SIP Stack Message Layer Reference Guide (February 2008)

286 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipAuthorizationHeaderGetAuthAlgorithm()
RvSipAuthorizationHeaderGetAuthAlgorithm()
DESCRIPTION
Gets the authentication algorithm enumeration from the Authorization header.
SYNTAX
RvSipAuthAlgorithm RvSipAuthorizationHeaderGetAuthAlgorithm(
IN RvSipAuthorizationHeaderHandle hHeader);
PARAMETERS
hHeader
The handle to the Authorization header.
RETURN VALUES
Returns the Authentication algorithm enumeration from the header.
REMARKS
If this function returns RVSIP_AUTH_ALGORITHM_OTHER, call
RvSipAuthorizationHeaderGetStrAuthAlgorithm() to get the algorithm in a
string format.