omadrm/drmengine/roap/inc/MeteringReportResp.h
changeset 0 95b198f216e5
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:  class representing OMA metering report response
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef METERINGRESP
       
    21 #define METERINGRESP
       
    22 
       
    23 //  INCLUDES
       
    24 #include <hash.h>
       
    25 #include "RoapMessage.h"
       
    26 
       
    27 namespace Roap
       
    28 {
       
    29 
       
    30 /**
       
    31 *  class representing OMA DRM metering report response
       
    32 *
       
    33 *  @lib roaphandler.dll
       
    34 *  @since S60 v3.2
       
    35 */
       
    36 NONSHARABLE_CLASS( CMeteringResp ) : public CRoapMessage
       
    37     {
       
    38     public:  // Constructors and destructor
       
    39 
       
    40         /**
       
    41         * Two-phased constructor.
       
    42         */
       
    43         static CMeteringResp* NewL();
       
    44 
       
    45         /**
       
    46         * Destructor.
       
    47         */
       
    48         virtual ~CMeteringResp();
       
    49 
       
    50     private:
       
    51 
       
    52         /**
       
    53         * C++ default constructor.
       
    54         */
       
    55         CMeteringResp();
       
    56 
       
    57         /**
       
    58         * By default Symbian 2nd phase constructor is private.
       
    59         */
       
    60         void ConstructL();
       
    61 
       
    62     public:     // Data
       
    63         TRoapStatus iStatus;
       
    64         TBuf8<SHA1_HASH> iDeviceId;
       
    65         TBuf8<SHA1_HASH> iRiId;
       
    66         HBufC8* iDeviceNonce;
       
    67         HBufC8* iErrorUrl;
       
    68         HBufC8* iSignature;
       
    69         RPointerArray<HBufC8> iCertificateChain;
       
    70         RPointerArray<HBufC8> iOcspResponse;
       
    71         HBufC8* iPrUrl;
       
    72     };
       
    73 }
       
    74 
       
    75 #endif      // METERINGRESP
       
    76 
       
    77 // End of File