cryptomgmtlibs/cryptotokenfw/inc_interfaces/mctcertappinterface.h
changeset 8 35751d3474b7
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
       
     1 /*
       
     2 * Copyright (c) 2009 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 the License "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: 
       
    15 * mctcertappinterface.h
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21  @file 
       
    22  @internalAll
       
    23 */
       
    24  
       
    25 #ifndef MCTCERTAPPINTERFACE_H
       
    26 #define MCTCERTAPPINTERFACE_H
       
    27 
       
    28 #include <e32base.h>
       
    29 #include <f32file.h>
       
    30 #include <s32file.h>
       
    31 #include <ct/mcttokeninterface.h>
       
    32 
       
    33 /** The UID of certificate application token type */
       
    34 const TInt KTokenTypeCertApps = 0x101f7a37;
       
    35 
       
    36 /** The UID of certificate application interface */
       
    37 const TInt KInterfaceCertApps = 0x101f7a38;
       
    38 
       
    39 class TCertificateAppInfo;
       
    40 
       
    41 /**
       
    42  * Interface for certificate applications manager token.
       
    43  */
       
    44 class MCTCertApps : public MCTTokenInterface
       
    45 	{
       
    46 public:
       
    47 	virtual void AddL(const TCertificateAppInfo& aClient) = 0;
       
    48 	virtual void RemoveL(const TUid& aUid) = 0;
       
    49 	virtual TInt ApplicationCountL() const = 0;
       
    50 	virtual void ApplicationsL(RArray<TCertificateAppInfo>& aAppArray) const = 0;
       
    51 	virtual void ApplicationL(const TUid& aUid, TCertificateAppInfo& aInfo) const = 0;
       
    52 	};
       
    53 
       
    54 
       
    55 #endif // MCTCERTAPPINTERFACE_H