CSIPAuthHeaderBase Class Reference
#include
<mw/sipauthheaderbase.h>
Link against: sipcodec.lib
class CSIPAuthHeaderBase : public CSIPHeaderBase |
Detailed Description
A base class for SIP Authorization-, Proxy-Authenticate-, Proxy-Authorization- and WWW-Authenticate-headers
Constructor & Destructor Documentation
CSIPAuthHeaderBase ( )
CSIPAuthHeaderBase | ( | ) | [protected] |
~CSIPAuthHeaderBase ( )
IMPORT_C | ~CSIPAuthHeaderBase | ( | ) | [virtual] |
Member Function Documentation
AuthScheme ( )
Returns: the value of the auth-scheme
ConstructL ( RStringF )
void | ConstructL | ( | RStringF | aAuthScheme | ) | [protected] |
DeleteParam ( RStringF )
Parameter | Description | aName | the parameter name to delete |
DesParamValue ( RStringF )
Gets a parameter value stored as a descriptor
- Pre-condition
- HasParam(aName) == ETrue
Parameter | Description | aName | the name of the parameter |
Returns: the parameter value if present, otherwise a zero-length length value.
EncodeMultipleToOneLine ( )
TBool
| EncodeMultipleToOneLine | ( | ) | const [virtual] |
ExternalizeSupported ( )
IMPORT_C TBool | ExternalizeSupported | ( | ) | const [virtual] |
HasParam ( RStringF )
Checks if a parameter is present
Parameter | Description | aName | the name of the parameter |
Returns: ETrue if present, otherwise EFalse
MoreThanOneAllowed ( )
TBool
| MoreThanOneAllowed | ( | ) | const [virtual] |
ParamValue ( RStringF )
Gets a parameter value
- Pre-condition
- HasParam(aName) == ETrue
Parameter | Description | aName | the name of the parameter |
Returns: the parameter value if present, otherwise a zero-length length value.
ParseL ( const TDesC8 & )
void | ParseL | ( | const TDesC8 & | aValue | ) | [protected] |
PreferredPlaceInMessage ( )
SetAuthSchemeL ( const TDesC8 & )
void | SetAuthSchemeL | ( | const TDesC8 & | aAuthScheme | ) | [protected] |
SetDesParamL ( RStringF, const TDesC8 & )
Sets a parameter with a value. Takes copies of the name so if the
RStringF have been dynamically allocated, they can be closed if necessary after the function returns. Stores the parameter value as a descriptor, so that the case-sensitivity is not lost in RStringF-descriptor conversions.
- Pre-condition
- HasParam(aName) == EFalse
Parameter | Description | aName | the name of the parameter |
aValue | the parameter value to set |
SetParamAndAddQuotesL ( RStringF, const TDesC8 & )
IMPORT_C void | SetParamAndAddQuotesL | ( | RStringF | aName, |
| const TDesC8 & | aValue |
| ) | |
Sets a parameter with a value and adds double quotes as the first and the last character in the value. Takes copy of the name, so if the
RStringF has been dynamically allocated, it can be closed if necessary after the function returns.
- Pre-condition
- HasParam(aName) == EFalse
Parameter | Description | aName | the name of the parameter |
aValue | the parameter value to which the double quotes will be added |
SetParamL ( RStringF, RStringF )
Sets a parameter with a value. Takes copies of the name and value, so if the RStringFs have been dynamically allocated, they can be closed if necessary after the function returns.
- Pre-condition
- HasParam(aName) == EFalse
Parameter | Description | aName | the name of the parameter |
aValue | the parameter value to set |
ToTextValueL ( )
HBufC8 * | ToTextValueL | ( | ) | const [virtual] |
Encodes the header's value into its textual representation.
Returns: a textual representation of the header's value, the ownership is transferred