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

Authorization Header Functions 287
Get and Set Functions
RvSipAuthorizationHeaderGetStrAuthAlgorithm()
RvSipAuthorizationHeaderGetStrAuthAlgorithm()
DESCRIPTION
Copies the authentication algorithm string from the Authorization header into a
given buffer. Use this function if
RvSipAuthorizationHeaderGetAuthAlgorithm() returns
RVSIP_AUTH_ALGORITHM_OTHER. If the bufferLen is adequate, the
function copies the requested parameter into strBuffer. Otherwise, the function
returns RV_ERROR_INSUFFICIENT_BUFFER and actualLen contains the
required buffer length.
SYNTAX
RvStatus RvSipAuthorizationHeaderGetStrAuthAlgorithm(
IN RvSipAuthorizationHeaderHandle hHeader,
IN RvChar* strBuffer,
IN RvUint bufferLen,
OUT RvUint* actualLen);
PARAMETERS
hHeader
The handle to the header.
strBuffer
The buffer with which to fill the requested parameter.
bufferLen
The length of the buffer.
actualLen
The length of the requested parameter + 1, to include a NULL value at the end
of the parameter.
RETURN VALUES
Returns RvStatus.