HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
288 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipAuthorizationHeaderSetAuthAlgorithm()
RvSipAuthorizationHeaderSetAuthAlgorithm()
DESCRIPTION
Sets the authentication algorithm in Authorization header.
SYNTAX
RvStatus RvSipAuthorizationHeaderSetAuthAlgorithm(
IN RvSipAuthorizationHeaderHandle hHeader,
IN RvSipAuthAlgorithm eAuthAlgorithm,
IN RvChar *strAuthAlgorithm);
PARAMETERS
hHeader
The handle to the Authorization header.
eAuthAlgorithm
The Authentication algorithm to be set in the object.
strAuthAlgorithm
Text string giving the Authorization algorithm to be set in the object. You can
use this parameter if eAuthAlgorithm is set to
RVSIP_AUTH_ALGORITHM_OTHER. Otherwise, the parameter is set to
NULL.
RETURN VALUES
Returns RvStatus.
REMARKS
If eAuthAlgorithm is RVSIP_AUTH_SCHEME_OTHER, strAuthAlgorithm is
copied to the header. Otherwise, strAuthAlgorithm is ignored.