vpnengine/dmadpki/inc/dmadstorepkcs12.h
changeset 0 33413c0669b9
equal deleted inserted replaced
-1:000000000000 0:33413c0669b9
       
     1 /*
       
     2 * Copyright (c) 2002-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 definition of CDmAdPKCS12
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DMADSTOREPKCS12_H__
       
    21 #define __DMADSTOREPKCS12_H__
       
    22 
       
    23 #include <e32std.h>
       
    24 #include <x509cert.h>
       
    25 #include <x500dn.h>
       
    26 
       
    27 #include "eventlogger.h"
       
    28 
       
    29 #include "pkiserviceapi.h"
       
    30 #include "dmadpkcs12parms.h"
       
    31 
       
    32 class CDmAdPKCS12 : public CBase
       
    33     {
       
    34 public:
       
    35     static CDmAdPKCS12* NewL(RPKIServiceAPI& aPkiServiceApi);
       
    36     static CDmAdPKCS12* NewLC(RPKIServiceAPI& aPkiServiceApi);
       
    37     ~CDmAdPKCS12();
       
    38 
       
    39     HBufC8* AddL(const CDmAdPKCS12Parms& aData); // returns Luid
       
    40 
       
    41 private:
       
    42     void ConstructL();
       
    43     CDmAdPKCS12(RPKIServiceAPI& aPkiServiceApi);
       
    44 
       
    45 private:
       
    46     RPKIServiceAPI*                             iPkiServiceApi; // ref
       
    47     DEFINE_EVENT_LOGGER
       
    48     };
       
    49 
       
    50 #endif