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.
27 #ifndef __TCTTOKENTYPEATTRIBUTE_H__
28 #define __TCTTOKENTYPEATTRIBUTE_H__
36 * A UID representing an attribute type.
38 * It has a corresponding TCTTokenTypeAttribute value, which is a boolean,
39 * that indicates whether the token is implemented in software.
41 const TUid KCTSoftware = {0x101F527B};
44 * A UID representing an attribute type.
46 * It has a corresponding TCTTokenTypeAttribute value, which is boolean,
47 * that indicates whether the token is removable.
49 const TUid KCTRemovable = {0x101F527C};
52 * A UID representing an attribute type.
54 * It has a corresponding TCTTokenTypeAttribute value, which is boolean,
55 * that indicates whether the token type provides its own access control.
57 const TUid KCTAccessControlled = {0x101F527D};
60 * A UID representing an attribute type.
62 * It has a corresponding TCTTokenTypeAttribute value, which is an integer,
63 * that represents the maximum number of tokens of this type.
65 * For example, if the token type is a WIM-card-hardware token and the device has two
66 * card readers, the maximum number of tokens of this type is 2.
68 const TUid KCTMaxTokenCount = {0x101F527E};
71 * A UID representing an attribute type.
73 * It has a corresponding TCTTokenTypeAttribute value, which is an integer,
74 * that represents the minimum number of tokens of this type.
76 * For example, if the token type is a WIM-card-hardware token, the minimum number of
77 * tokens of this type is 0).
79 const TUid KCTMinTokenCount = {0x101F527F};
82 * Arbitrary attributes can be stored as UID/Value pairs.
84 * This allows any attributes that can be represented as 32 bit integers to be
85 * associated with token types.
87 * It consists of a UID to identify the type of the attribute and an unsigned
88 * integer to hold the data. For Boolean attributes, 0 means false and a
89 * positive integer means true.
93 struct TCTTokenTypeAttribute
95 /** The UID representing the attribute type. */
97 /** The value of the attribute. */
101 #endif // __TCTTOKENTYPEATTRIBUTE_H__