vpnengine/dmadpki/inc/dmadcertluidmappingelem.h
changeset 0 33413c0669b9
equal deleted inserted replaced
-1:000000000000 0:33413c0669b9
       
     1 /*
       
     2 * Copyright (c) 2002 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 definition of CDmAdCertLuidMappingElem.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DMADCERTLUIDMAPPINGELEM_H__
       
    21 #define __DMADCERTLUIDMAPPINGELEM_H__
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 class CDmAdCertLuidMappingElem : public CBase
       
    26     {
       
    27 public:
       
    28     static CDmAdCertLuidMappingElem* NewL(const TDesC8& aIssuerName, const TDesC8& aSerialNumber);
       
    29     static CDmAdCertLuidMappingElem* NewLC(const TDesC8& aIssuerName, const TDesC8& aSerialNumber);
       
    30     ~CDmAdCertLuidMappingElem();
       
    31     static void CleanupOperationDeleteCArrayPtr(TAny* aPtr);
       
    32     TPtrC8 Luid() const;
       
    33     TPtrC8 IssuerName() const;
       
    34     TPtrC8 SerialNumber() const;
       
    35     static HBufC8* BuildLuidL(const TDesC8& aIssuerName, const TDesC8& aSerialNumber);
       
    36     
       
    37 private:
       
    38     void ConstructL(const TDesC8& aIssuerName, const TDesC8& aSerialNumber);
       
    39     CDmAdCertLuidMappingElem();
       
    40     
       
    41 private:
       
    42     HBufC8*             iLuid;
       
    43     HBufC8*             iIssuerName;
       
    44     HBufC8*             iSerialNumber;
       
    45     };
       
    46 
       
    47 #endif