00001 /* 00002 * ============================================================================= 00003 * Name : sipsecurityclientheader.h 00004 * Part of : SIP Codec 00005 * Interface : SDK API, SIP Codec API 00006 * Description : 00007 * Version : SIP/4.0 00008 * 00009 * Copyright (c) 2004 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. All rights are reserved. Copying, 00013 * including reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia Corporation. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia Corporation. 00018 * ============================================================================= 00019 */ 00020 00021 00022 #ifndef CSIPSECURITYCLIENTHEADER_H 00023 #define CSIPSECURITYCLIENTHEADER_H 00024 00025 // INCLUDES 00026 #include "SipSecurityHeaderBase.h" 00027 #include "_sipcodecdefs.h" 00028 00029 // CLASS DECLARATION 00039 class CSIPSecurityClientHeader : public CSIPSecurityHeaderBase 00040 { 00041 public: // Constructors and destructor 00042 00049 IMPORT_C static RPointerArray<CSIPSecurityClientHeader> 00050 DecodeL(const TDesC8& aValue); 00051 00058 IMPORT_C static CSIPSecurityClientHeader* 00059 NewL(const TDesC8& aMechanism); 00060 00068 IMPORT_C static CSIPSecurityClientHeader* 00069 NewLC(const TDesC8& aMechanism); 00070 00074 IMPORT_C ~CSIPSecurityClientHeader(); 00075 00076 00077 public: // New functions 00078 00087 IMPORT_C static CSIPHeaderBase* 00088 InternalizeValueL(RReadStream& aReadStream); 00089 00090 00091 public: // From CSIPHeaderBase 00092 00096 IMPORT_C CSIPHeaderBase* CloneL() const; 00097 00101 IMPORT_C RStringF Name() const; 00102 00103 00104 public: // New functions, for internal use 00105 00106 static RPointerArray<CSIPHeaderBase> BaseDecodeL(const TDesC8& aValue); 00107 00108 private: // New functions 00109 00110 CSIPSecurityClientHeader() ; 00111 00112 private: // For testing purposes 00113 00114 UNIT_TEST(CSIPSecurityHeaderBaseTest) 00115 }; 00116 00117 // CSIPSECURITYCLIENTHEADER_H 00118 #endif 00119 00120 // End of File