Location:
sipauthheaderbase.h
Link against: sipcodec.lib
class CSIPAuthHeaderBase : public CSIPHeaderBase;
A base class for SIP Authorization-, Proxy-Authenticate-, Proxy-Authorization- and WWW-Authenticate-headers
sipcodec.lib
CBase
- Base class for all classes to be instantiated on the heap
CSIPHeaderBase
- Class provides a generic interface for all the SIP headers
CSIPAuthHeaderBase
- A base class for SIP Authorization-, Proxy-Authenticate-, Proxy-Authorization- and WWW-Authenticate-headers
Defined in CSIPAuthHeaderBase
:
AuthScheme()
, DeleteParam()
, DesParamValue()
, ExternalizeSupported()
, HasParam()
, ParamValue()
, Params()
, Params()
, SetDesParamL()
, SetParamAndAddQuotesL()
, SetParamL()
, ToTextValueL()
, ~CSIPAuthHeaderBase()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CSIPHeaderBase
:
CloneL()
,
ExternalizeL()
,
Name()
,
PushLC()
,
ToTextL()
,
ToTextLC()
,
ToTextValueLC()
IMPORT_C RStringF AuthScheme() const;
|
IMPORT_C TBool HasParam(RStringF aName) const;
Checks if a parameter is present
|
|
IMPORT_C RStringF ParamValue(RStringF aName) const;
HasParam(aName) == ETrue
Gets a parameter value
|
|
IMPORT_C const TDesC8 &DesParamValue(RStringF aName) const;
HasParam(aName) == ETrue
Gets a parameter value stored as a descriptor
|
|
IMPORT_C void SetParamL(RStringF aName, RStringF aValue);
HasParam(aName) == EFalse
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.
|
IMPORT_C void SetDesParamL(RStringF aName, const TDesC8 &aValue);
HasParam(aName) == EFalse
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.
|
IMPORT_C void SetParamAndAddQuotesL(RStringF aName, const TDesC8 &aValue);
HasParam(aName) == EFalse
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.
|
IMPORT_C void DeleteParam(RStringF aName);
Deletes a parameter
|
virtual IMPORT_C TBool ExternalizeSupported() const;
From CSIPHeaderBase
ExternalizeSupported
|
virtual HBufC8 *ToTextValueL() const;
Encodes the header's value into its textual representation.
|
protected: virtual const CSIPParamContainerBase &Params() const=0;
|
protected: virtual CSIPParamContainerBase &Params()=0;
|