cryptoservices/filebasedcertificateandkeystores/test/thwkeystore/common/thwkeystoredefs.h
equal
deleted
inserted
replaced
|
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 * Contains the messages which the ctf plug-in sends to itself. In a |
|
16 * client server model, these messages will be sent to server. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 /** |
|
22 @file |
|
23 @internalTechnology |
|
24 */ |
|
25 |
|
26 #ifndef HWKEYSTOREDEFS_H |
|
27 #define HWKEYSTOREDEFS_H |
|
28 |
|
29 #include <e32base.h> |
|
30 |
|
31 const TInt KHwKeystoreMajorVersion = 1; |
|
32 const TInt KHwKeystoreMinorVersion = 0; |
|
33 const TInt KHwKeystoreBuildVersion = 0; |
|
34 |
|
35 /** |
|
36 * Request message enumeration within the client. This is needed since |
|
37 * unified key store calls are asynchronous in nature. Hence client |
|
38 * needs to send messages to itself. |
|
39 */ |
|
40 enum THwKeystoreMessages |
|
41 { |
|
42 ERequireNoCapabilities=0x00, |
|
43 EIdle, |
|
44 ECancel, |
|
45 EImportKey, |
|
46 EExportKey, |
|
47 EKeyPresent, |
|
48 ECreateSigner, |
|
49 ECreateAsymmetricCipher, |
|
50 ESignInHardware, |
|
51 EDecryptInHardware |
|
52 }; |
|
53 |
|
54 |
|
55 |
|
56 #endif // HWKEYSTOREDEFS_H |