equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-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 * SisTrustStatus - Trust enumeration for SIS packages |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @released |
|
23 @internalComponent |
|
24 */ |
|
25 |
|
26 #ifndef __SISTRUSTSTATUS_H__ |
|
27 #define __SISTRUSTSTATUS_H__ |
|
28 |
|
29 #include <e32std.h> |
|
30 |
|
31 namespace Swi |
|
32 { |
|
33 /** |
|
34 * @internalComponent |
|
35 * @released |
|
36 */ |
|
37 enum TSisPackageTrust |
|
38 { |
|
39 ESisPackageUnsignedOrSelfSigned = 0, ///< Untrusted - Application is unsigned or self-signed |
|
40 ESisPackageValidationFailed = 50, ///< Untrusted - Application's Certificate chain validation failed |
|
41 ESisPackageCertificateChainNoTrustAnchor = 100, ///< Untrusted - Application's Certificate chain validated but no matching issuer certificate could be found in the certstore. |
|
42 ESisPackageCertificateChainValidatedToTrustAnchor = 200, ///< Trusted - Application's Certificate chain validated to an issuer certificate in the certstore |
|
43 ESisPackageChainValidatedToTrustAnchorOCSPTransientError = 300, ///< Trusted - Application's Certificate chain validated and OCSP failed with a transient error |
|
44 ESisPackageChainValidatedToTrustAnchorAndOCSPValid = 400, ///< Trusted - Application's Certificate chain validated and OCSP response was ok |
|
45 ESisPackageBuiltIntoRom = 500 ///< Trusted - Application is built into device ROM |
|
46 }; |
|
47 } // namespace |
|
48 #endif |