omadrm/drmengine/roap/inc/JoinDomainReq.h
changeset 0 95b198f216e5
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef JOINDOMAINREQ_H
       
    21 #define JOINDOMAINREQ_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <hash.h>
       
    25 #include "RoapMessage.h"
       
    26 
       
    27 namespace Roap
       
    28 {
       
    29 
       
    30 // CONSTANTS
       
    31 //const ?type ?constant_var = ?constant;
       
    32 
       
    33 // MACROS
       
    34 //#define ?macro ?macro_def
       
    35 
       
    36 // DATA TYPES
       
    37 //enum ?declaration
       
    38 //typedef ?declaration
       
    39 //extern ?data_type;
       
    40 
       
    41 // FUNCTION PROTOTYPES
       
    42 //?type ?function_name(?arg_list);
       
    43 
       
    44 // FORWARD DECLARATIONS
       
    45 //class ?FORWARD_CLASSNAME;
       
    46 
       
    47 // CLASS DECLARATION
       
    48 
       
    49 /**
       
    50 *  ?one_line_short_description.
       
    51 *  ?other_description_lines
       
    52 *
       
    53 *  @lib ?library
       
    54 *  @since Series ?XX ?SeriesXX_version
       
    55 */
       
    56 class CJoinDomainReq : public CRoapMessage
       
    57     {
       
    58     public:  // Constructors and destructor
       
    59         
       
    60         /**
       
    61         * Two-phased constructor.
       
    62         */
       
    63         static CJoinDomainReq* NewL();
       
    64         
       
    65         /**
       
    66         * Destructor.
       
    67         */
       
    68         virtual ~CJoinDomainReq();
       
    69 
       
    70     public: // New functions
       
    71         
       
    72         /**
       
    73         * ?member_description.
       
    74         * @since Series ?XX ?SeriesXX_version
       
    75         * @param ?arg1 ?description
       
    76         * @return ?description
       
    77         */
       
    78         //?type ?member_function( ?type ?arg1 );
       
    79 
       
    80     public: // Functions from base classes
       
    81 
       
    82         /**
       
    83         * From ?base_class ?member_description.
       
    84         * @since Series ?XX ?SeriesXX_version
       
    85         * @param ?arg1 ?description
       
    86         * @return ?description
       
    87         */
       
    88         virtual HBufC8* MessageAsXmlL(void);
       
    89         
       
    90     protected:  // New functions
       
    91         
       
    92         /**
       
    93         * ?member_description.
       
    94         * @since Series ?XX ?SeriesXX_version
       
    95         * @param ?arg1 ?description
       
    96         * @return ?description
       
    97         */
       
    98         //?type ?member_function( ?type ?arg1 );
       
    99 
       
   100     protected:  // Functions from base classes
       
   101         
       
   102         /**
       
   103         * From ?base_class ?member_description
       
   104         */
       
   105         //?type ?member_function();
       
   106 
       
   107     private:
       
   108 
       
   109         /**
       
   110         * C++ default constructor.
       
   111         */
       
   112         CJoinDomainReq();
       
   113 
       
   114         /**
       
   115         * By default Symbian 2nd phase constructor is private.
       
   116         */
       
   117         void ConstructL();
       
   118 
       
   119         // Prohibit copy constructor if not deriving from CBase.
       
   120         // CJoinDomainReq( const CJoinDomainReq& );
       
   121         // Prohibit assigment operator if not deriving from CBase.
       
   122         // CJoinDomainReq& operator=( const CJoinDomainReq& );
       
   123 
       
   124     public:     // Data
       
   125         // ?one_line_short_description_of_data
       
   126         TBuf8<SHA1_HASH> iDeviceId;
       
   127         TBuf8<SHA1_HASH> iRiId;
       
   128         HBufC8* iDomainId;
       
   129         TBuf8<KDeviceNonceLength> iNonce;
       
   130         TTime iTime;
       
   131         RPointerArray<HBufC8> iCertificateChain;
       
   132         HBufC8* iOcspResponderKeyId;
       
   133         TBuf8<SHA1_HASH> iPeerKeyIdentifier;
       
   134         TBool iOcspInfoStored;
       
   135         TBool iHashChainSupport;
       
   136         HBufC8* iSignature;
       
   137 
       
   138         // Optional nonce from the trigger
       
   139         HBufC8* iTriggerNonce;
       
   140 
       
   141     protected:  // Data
       
   142         // ?one_line_short_description_of_data
       
   143         //?data_declaration;
       
   144 
       
   145     private:    // Data
       
   146         // ?one_line_short_description_of_data
       
   147         //?data_declaration;
       
   148          
       
   149         // Reserved pointer for future extension
       
   150         //TAny* iReserved;
       
   151 
       
   152     public:     // Friend classes
       
   153         //?friend_class_declaration;
       
   154     protected:  // Friend classes
       
   155         //?friend_class_declaration;
       
   156     private:    // Friend classes
       
   157         //?friend_class_declaration;
       
   158 
       
   159     };
       
   160 }
       
   161 
       
   162 #endif      // JOINDOMAINREQ_H   
       
   163             
       
   164 // End of File