omadrm/drmengine/roap/inc/JoinDomainResp.h
changeset 23 493788a4a8a4
parent 0 95b198f216e5
equal deleted inserted replaced
5:79d62d1d7957 23:493788a4a8a4
    21 #define JOINDOMAINRESP_H
    21 #define JOINDOMAINRESP_H
    22 
    22 
    23 //  INCLUDES
    23 //  INCLUDES
    24 #include <hash.h>
    24 #include <hash.h>
    25 #include "RoapMessage.h"
    25 #include "RoapMessage.h"
    26 #include "DrmRightsClient.h"
    26 #include "DRMRightsClient.h"
    27 
    27 
    28 namespace Roap
    28 namespace Roap
    29 {
    29 {
    30 
    30 
    31 // CONSTANTS
    31 // CONSTANTS
    55 *  @since Series ?XX ?SeriesXX_version
    55 *  @since Series ?XX ?SeriesXX_version
    56 */
    56 */
    57 class CJoinDomainResp : public CRoapMessage
    57 class CJoinDomainResp : public CRoapMessage
    58     {
    58     {
    59     public:  // Constructors and destructor
    59     public:  // Constructors and destructor
    60         
    60 
    61         /**
    61         /**
    62         * Two-phased constructor.
    62         * Two-phased constructor.
    63         */
    63         */
    64         static CJoinDomainResp* NewL();
    64         static CJoinDomainResp* NewL();
    65         
    65 
    66         /**
    66         /**
    67         * Destructor.
    67         * Destructor.
    68         */
    68         */
    69         virtual ~CJoinDomainResp();
    69         virtual ~CJoinDomainResp();
    70 
    70 
    71     public: // New functions
    71     public: // New functions
    72         
    72 
    73         /**
    73         /**
    74         * ?member_description.
    74         * ?member_description.
    75         * @since Series ?XX ?SeriesXX_version
    75         * @since Series ?XX ?SeriesXX_version
    76         * @param ?arg1 ?description
    76         * @param ?arg1 ?description
    77         * @return ?description
    77         * @return ?description
    85         * @since Series ?XX ?SeriesXX_version
    85         * @since Series ?XX ?SeriesXX_version
    86         * @param ?arg1 ?description
    86         * @param ?arg1 ?description
    87         * @return ?description
    87         * @return ?description
    88         */
    88         */
    89         //?type ?member_function( ?type ?arg1 );
    89         //?type ?member_function( ?type ?arg1 );
    90         
    90 
    91     protected:  // New functions
    91     protected:  // New functions
    92         
    92 
    93         /**
    93         /**
    94         * ?member_description.
    94         * ?member_description.
    95         * @since Series ?XX ?SeriesXX_version
    95         * @since Series ?XX ?SeriesXX_version
    96         * @param ?arg1 ?description
    96         * @param ?arg1 ?description
    97         * @return ?description
    97         * @return ?description
    98         */
    98         */
    99         //?type ?member_function( ?type ?arg1 );
    99         //?type ?member_function( ?type ?arg1 );
   100 
   100 
   101     protected:  // Functions from base classes
   101     protected:  // Functions from base classes
   102         
   102 
   103         /**
   103         /**
   104         * From ?base_class ?member_description
   104         * From ?base_class ?member_description
   105         */
   105         */
   106         //?type ?member_function();
   106         //?type ?member_function();
   107 
   107 
   127         TRoapStatus iStatus;
   127         TRoapStatus iStatus;
   128         TBuf8<SHA1_HASH> iDeviceId;
   128         TBuf8<SHA1_HASH> iDeviceId;
   129         TBuf8<SHA1_HASH> iRiId;
   129         TBuf8<SHA1_HASH> iRiId;
   130         TBuf8<SHA1_HASH> iDomainKeyRiId;
   130         TBuf8<SHA1_HASH> iDomainKeyRiId;
   131         RPointerArray<HBufC8> iMacs;
   131         RPointerArray<HBufC8> iMacs;
   132                 
   132 
   133         TTime iDomainExpiration;
   133         TTime iDomainExpiration;
   134         TBool iHashChainSupport;
   134         TBool iHashChainSupport;
   135         RPointerArray<HBufC8> iDomainKeys;
   135         RPointerArray<HBufC8> iDomainKeys;
   136         RPointerArray<HBufC8> iCertificateChain;
   136         RPointerArray<HBufC8> iCertificateChain;
   137         RPointerArray<HBufC8> iOcspResponse;
   137         RPointerArray<HBufC8> iOcspResponse;
   138         HBufC8* iSignature;
   138         HBufC8* iSignature;
   139         HBufC8* iErrorUrl;
   139         HBufC8* iErrorUrl;
   140         RPointerArray<HBufC8> iDomainKeyIDs;
   140         RPointerArray<HBufC8> iDomainKeyIDs;
   141         TKeyTransportScheme iTransportScheme;
   141         TKeyTransportScheme iTransportScheme;
   142     
   142 
   143     protected:  // Data
   143     protected:  // Data
   144         // ?one_line_short_description_of_data
   144         // ?one_line_short_description_of_data
   145         //?data_declaration;
   145         //?data_declaration;
   146 
   146 
   147     private:    // Data
   147     private:    // Data
   148         // ?one_line_short_description_of_data
   148         // ?one_line_short_description_of_data
   149         //?data_declaration;
   149         //?data_declaration;
   150          
   150 
   151         // Reserved pointer for future extension
   151         // Reserved pointer for future extension
   152         //TAny* iReserved;
   152         //TAny* iReserved;
   153 
   153 
   154     public:     // Friend classes
   154     public:     // Friend classes
   155         //?friend_class_declaration;
   155         //?friend_class_declaration;
   159         //?friend_class_declaration;
   159         //?friend_class_declaration;
   160 
   160 
   161     };
   161     };
   162 }
   162 }
   163 
   163 
   164 #endif      // JOINDOMAINRESP_H   
   164 #endif      // JOINDOMAINRESP_H
   165             
   165 
   166 // End of File
   166 // End of File