vpnengine/dmadpki/inc/dmadstoreprivkey.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 CDmAdPrivKey.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DMADSTOREPRIVKEY_H__
       
    21 #define __DMADSTOREPRIVKEY_H__
       
    22 
       
    23 #include <e32std.h>
       
    24 #include <x509cert.h>
       
    25 #include <x500dn.h>
       
    26 
       
    27 #include "pkiserviceapi.h"
       
    28 #include "dmadprivkeyparms.h"
       
    29 
       
    30 class CDmAdPrivKey : public CBase
       
    31     {
       
    32 public:
       
    33     static CDmAdPrivKey* NewL(RPKIServiceAPI& aPkiServiceApi);
       
    34     static CDmAdPrivKey* NewLC(RPKIServiceAPI& aPkiServiceApi);
       
    35     ~CDmAdPrivKey();
       
    36     
       
    37     TBool FindL(const TDesC8& aLuid);    
       
    38     void FetchL(const TDesC8& aLuid, CDmAdPrivKeyParms& aData);
       
    39     void DeleteL(const TDesC8& aLuid);
       
    40     void ListL(RPointerArray<HBufC8>& aLuidList);
       
    41 
       
    42 private:
       
    43     CDmAdPrivKey(RPKIServiceAPI& aPkiServiceApi);
       
    44 
       
    45 
       
    46     RPKIServiceAPI* iPkiServiceApi;    
       
    47     };
       
    48 
       
    49 #endif