crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianStructuresLib/Security/SecurityInfo.cs
changeset 0 818e61de6cd1
equal deleted inserted replaced
-1:000000000000 0:818e61de6cd1
       
     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 "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 *
       
    16 */
       
    17 using System;
       
    18 using System.IO;
       
    19 using System.Collections.Generic;
       
    20 using System.Text;
       
    21 using SymbianUtils.Streams;
       
    22 
       
    23 namespace SymbianStructuresLib.Security
       
    24 {
       
    25     public class SSecurityInfo
       
    26     {
       
    27         #region Constructors
       
    28         public SSecurityInfo()
       
    29 		{
       
    30             iCaps = new SCapabilitySet();
       
    31         }
       
    32 
       
    33         public SSecurityInfo( SymbianStreamReaderLE aReader )
       
    34         {
       
    35             iSecureId = aReader.ReadUInt32();
       
    36             iVendorId = aReader.ReadUInt32();
       
    37             iCaps = new SCapabilitySet( aReader );
       
    38         }
       
    39 		#endregion
       
    40 
       
    41 		#region API
       
    42         #endregion
       
    43 
       
    44 		#region Properties
       
    45         public uint SecureId
       
    46         {
       
    47             get
       
    48             {
       
    49                 return iSecureId;
       
    50             }
       
    51             set
       
    52             {
       
    53                 iSecureId = value;
       
    54             }
       
    55         }
       
    56 
       
    57         public uint VendorId
       
    58         {
       
    59             get
       
    60             {
       
    61                 return iVendorId;
       
    62             }
       
    63             set
       
    64             {
       
    65                 iVendorId = value;
       
    66             }
       
    67         }
       
    68 
       
    69         public SCapabilitySet Capabilities
       
    70         {
       
    71             get { return iCaps; }
       
    72         }
       
    73 		#endregion
       
    74 
       
    75 		#region Internal methods
       
    76 		#endregion
       
    77 
       
    78         #region From System.Object
       
    79         #endregion
       
    80 
       
    81         #region Data members
       
    82 	    private uint iSecureId = 0;
       
    83 	    private uint iVendorId = 0;
       
    84 	    private readonly SCapabilitySet iCaps;
       
    85         #endregion
       
    86     }
       
    87 }