cpsecplugins/cpadvancedsecplugin/src/advsecsettingssecuritymodule_symbian.cpp
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 #include "advsecsettingssecuritymodule_symbian.h"
       
    19 #include <cctcertinfo.h>                // CCTCertInfo
       
    20 #include <mctkeystore.h>                // CCTKeyInfo
       
    21 
       
    22 
       
    23 // ======== MEMBER FUNCTIONS ========
       
    24 
       
    25 // ---------------------------------------------------------------------------
       
    26 // CAdvSecSettingsSecurityModuleSymbian::CAdvSecSettingsSecurityModuleSymbian()
       
    27 // ---------------------------------------------------------------------------
       
    28 //
       
    29 CAdvSecSettingsSecurityModuleSymbian::CAdvSecSettingsSecurityModuleSymbian(
       
    30     MCTKeyStore &aProtectedKeyStore) : CBase(), iProtectedKeyStore(aProtectedKeyStore)
       
    31 {
       
    32 }
       
    33 
       
    34 // ---------------------------------------------------------------------------
       
    35 // CAdvSecSettingsSecurityModuleSymbian::~CAdvSecSettingsSecurityModuleSymbian()
       
    36 // ---------------------------------------------------------------------------
       
    37 //
       
    38 CAdvSecSettingsSecurityModuleSymbian::~CAdvSecSettingsSecurityModuleSymbian()
       
    39 {
       
    40     iKeyInfoArray.Close();
       
    41 }
       
    42 
       
    43 // ---------------------------------------------------------------------------
       
    44 // CAdvSecSettingsSecurityModuleSymbian::Label()
       
    45 // ---------------------------------------------------------------------------
       
    46 //
       
    47 const TDesC &CAdvSecSettingsSecurityModuleSymbian::Label() const
       
    48 {
       
    49     return KNullDesC;
       
    50 }
       
    51 
       
    52 // ---------------------------------------------------------------------------
       
    53 // CAdvSecSettingsSecurityModuleSymbian::IsDeletable()
       
    54 // ---------------------------------------------------------------------------
       
    55 //
       
    56 TBool CAdvSecSettingsSecurityModuleSymbian::IsDeletable() const
       
    57 {
       
    58     return EFalse;
       
    59 }
       
    60 
       
    61 // ---------------------------------------------------------------------------
       
    62 // CAdvSecSettingsSecurityModuleSymbian::IsSigningPinSupported()
       
    63 // ---------------------------------------------------------------------------
       
    64 //
       
    65 TBool CAdvSecSettingsSecurityModuleSymbian::IsSigningPinSupported() const
       
    66 {
       
    67     return EFalse;
       
    68 }
       
    69 
       
    70 // ---------------------------------------------------------------------------
       
    71 // CAdvSecSettingsSecurityModuleSymbian::KeyInfoArray()
       
    72 // ---------------------------------------------------------------------------
       
    73 //
       
    74 RMPointerArray<CCTKeyInfo> &CAdvSecSettingsSecurityModuleSymbian::KeyInfoArray()
       
    75 {
       
    76     return iKeyInfoArray;
       
    77 }
       
    78