e32tools/e32lib/e32image/inc/seclib.h
changeset 0 044383f39525
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // e32tools/inc/seclib.h
       
    15 // Get the capabilities of an emulator / e32image.
       
    16 // Image security information structure.
       
    17 // 
       
    18 //
       
    19 
       
    20 /**
       
    21  @internalTechnology
       
    22  @prototype
       
    23 */
       
    24 struct SBinarySecurityInfo
       
    25 	{
       
    26 	TUint32			iSecureId;
       
    27 	TUint32			iVendorId;
       
    28 	TUint8			iCapabilities[KCapabilitySetMaxSize];
       
    29 	TBool			iE32Image;
       
    30 	};
       
    31 
       
    32 /**
       
    33  * Extracts security information from an image.
       
    34  *
       
    35  * @internalTechnology
       
    36  * @prototype
       
    37  */
       
    38 TInt GetSecurityInfo(const char* aFileName, SBinarySecurityInfo& aInfo);
       
    39 #ifndef __LINUX__
       
    40 TInt GetSecurityInfo(const wchar_t* aFileName, SBinarySecurityInfo& aInfo);
       
    41 #endif