cpsecplugins/cpadvancedsecplugin/inc/advsecsettingssecuritymodule_symbian.h
changeset 63 989397f9511c
equal deleted inserted replaced
62:3255e7d5bd67 63:989397f9511c
       
     1 /*
       
     2 * Copyright (c) 2010 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:  Symbian specific container class for a security module
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef ADVSECSETTINGSSECURITYMODULE_SYMBIAN_H
       
    19 #define ADVSECSETTINGSSECURITYMODULE_SYMBIAN_H
       
    20 
       
    21 #include <e32base.h>                    // CBase
       
    22 #include <ct/rmpointerarray.h>          // RMPointerArray
       
    23 
       
    24 class CCTKeyInfo;
       
    25 class MCTKeyStore;
       
    26 class MCTAuthenticationObject;
       
    27 
       
    28 
       
    29 /**
       
    30  * Symbian specific container class for a security module.
       
    31  */
       
    32 class CAdvSecSettingsSecurityModuleSymbian : public CBase
       
    33 {
       
    34 public:     // constructor and destructor
       
    35     CAdvSecSettingsSecurityModuleSymbian(MCTKeyStore &aProtectedKeyStore);
       
    36     ~CAdvSecSettingsSecurityModuleSymbian();
       
    37 
       
    38 public:     // new functions
       
    39     const TDesC &Label() const;
       
    40     TBool IsDeletable() const;
       
    41     TBool IsSigningPinSupported() const;
       
    42     RMPointerArray<CCTKeyInfo> &KeyInfoArray();
       
    43 
       
    44 private:    // data
       
    45     MCTKeyStore &iProtectedKeyStore;
       
    46     RMPointerArray<CCTKeyInfo> iKeyInfoArray;
       
    47     RMPointerArray<MCTAuthenticationObject> iAuthenticationObjects;
       
    48 };
       
    49 
       
    50 #endif // ADVSECSETTINGSSECURITYMODULE_SYMBIAN_H