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

212 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipAuthenticationHeaderSetAuthAlgorithm()
RvSipAuthenticationHeaderSetAuthAlgorithm()
DESCRIPTION
Sets the authentication algorithm in authentication object.
SYNTAX
RvStatus RvSipAuthenticationHeaderSetAuthAlgorithm(
IN RvSipAuthenticationHeaderHandle Header,
IN RvSipAuthAlgorithm eAuthAlgorithm,
IN RvChar *strAuthAlgorithm);
PARAMETERS
hHeader
The handle to the Authentication header.
eAuthAlgorithem
The authentication algorithm to be set in the object.
strAuthAlgorithm
The authentication algorithm string to be set in the object. You can use this
parameter only if eAuthAlgorithm is set to
RVSIP_AUTH_ALGORITHM_OTHER. Otherwise, the parameter is ignored.
RETURN VALUES
Returns RvStatus.