2 * Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
25 #ifndef __TCTTOKENTYPEATTRIBUTE_H__
26 #define __TCTTOKENTYPEATTRIBUTE_H__
34 * A UID representing an attribute type.
36 * It has a corresponding TCTTokenTypeAttribute value, which is a boolean,
37 * that indicates whether the token is implemented in software.
39 const TUid KCTSoftware = {0x101F527B};
42 * A UID representing an attribute type.
44 * It has a corresponding TCTTokenTypeAttribute value, which is boolean,
45 * that indicates whether the token is removable.
47 const TUid KCTRemovable = {0x101F527C};
50 * A UID representing an attribute type.
52 * It has a corresponding TCTTokenTypeAttribute value, which is boolean,
53 * that indicates whether the token type provides its own access control.
55 const TUid KCTAccessControlled = {0x101F527D};
58 * A UID representing an attribute type.
60 * It has a corresponding TCTTokenTypeAttribute value, which is an integer,
61 * that represents the maximum number of tokens of this type.
63 * For example, if the token type is a WIM-card-hardware token and the device has two
64 * card readers, the maximum number of tokens of this type is 2.
66 const TUid KCTMaxTokenCount = {0x101F527E};
69 * A UID representing an attribute type.
71 * It has a corresponding TCTTokenTypeAttribute value, which is an integer,
72 * that represents the minimum number of tokens of this type.
74 * For example, if the token type is a WIM-card-hardware token, the minimum number of
75 * tokens of this type is 0).
77 const TUid KCTMinTokenCount = {0x101F527F};
80 * Arbitrary attributes can be stored as UID/Value pairs.
82 * This allows any attributes that can be represented as 32 bit integers to be
83 * associated with token types.
85 * It consists of a UID to identify the type of the attribute and an unsigned
86 * integer to hold the data. For Boolean attributes, 0 means false and a
87 * positive integer means true.
91 struct TCTTokenTypeAttribute
93 /** The UID representing the attribute type. */
95 /** The value of the attribute. */
99 #endif // __TCTTOKENTYPEATTRIBUTE_H__