|
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 * General Security Definitions |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @publishedPartner |
|
23 @released |
|
24 */ |
|
25 |
|
26 #ifndef SECURITYDEFSCONST_H |
|
27 #define SECURITYDEFSCONST_H |
|
28 |
|
29 // Certificate Applicability UIDs |
|
30 |
|
31 /** |
|
32 * This UID is associated with certificates which are trusted for |
|
33 * software installation of native applications. |
|
34 * |
|
35 * @see MCertStore::Applications |
|
36 * @see MCTWritableCertStore::SetApplicability |
|
37 * |
|
38 */ |
|
39 const TUid KSwiApplicabilityUid = {0x100042AB}; |
|
40 |
|
41 /** |
|
42 * This UID is associated with certificates which are trusted for |
|
43 * OCSP checks. |
|
44 * |
|
45 * @see MCertStore::Applications |
|
46 * @see MCTWritableCertStore::SetApplicability |
|
47 * |
|
48 */ |
|
49 const TUid KSwiOcspApplicabilityUid = {0x1000A8B6}; |
|
50 |
|
51 /** |
|
52 * This UID is associated with certificates which are trusted for |
|
53 * Java midlet installation. |
|
54 * |
|
55 * @see MCertStore::Applications |
|
56 * @see MCTWritableCertStore::SetApplicability |
|
57 * |
|
58 */ |
|
59 const TUid KMidletInstallApplicabilityUid = {0x101F9B28}; |
|
60 |
|
61 /** |
|
62 * This UID is associated with certificates which are trusted for |
|
63 * SSL/TLS connectivity. |
|
64 * |
|
65 * @see MCertStore::Applications |
|
66 * @see MCTWritableCertStore::SetApplicability |
|
67 * |
|
68 */ |
|
69 const TUid KTlsApplicabilityUid = {0x1000183D}; |
|
70 |
|
71 /** |
|
72 * This OID is associated with X.509 certificates |
|
73 * trusted for TLS WWW server authentication. |
|
74 * |
|
75 */ |
|
76 _LIT(KServerAuthOID,"1.3.6.1.5.5.7.3.1"); |
|
77 |
|
78 /** |
|
79 * This OID is associated with X.509 certificates |
|
80 * trusted for TLS WWW client authentication. |
|
81 * |
|
82 */ |
|
83 // SSL Client |
|
84 _LIT(KClientAuthOID,"1.3.6.1.5.5.7.3.2"); |
|
85 |
|
86 /** |
|
87 * This OID is associated with X.509 certificates |
|
88 * trusted for signing of downloadable executable code. |
|
89 * |
|
90 */ |
|
91 _LIT(KCodeSigningOID,"1.3.6.1.5.5.7.3.3"); |
|
92 |
|
93 /** |
|
94 * This OID is associated with X.509 certificates |
|
95 * trusted for email protection . |
|
96 * |
|
97 */ |
|
98 _LIT(KEmailProtectionOID,"1.3.6.1.5.5.7.3.4"); |
|
99 |
|
100 /** |
|
101 * This OID is associated with X.509 certificates |
|
102 * trusted for Ipsec end system. |
|
103 * |
|
104 */ |
|
105 _LIT(KIpsecEndSystemOID,"1.3.6.1.5.5.7.3.5"); |
|
106 |
|
107 /** |
|
108 * This OID is associated with X.509 certificates |
|
109 * trusted for Ipsec tunnel. |
|
110 * |
|
111 */ |
|
112 _LIT(KIpsecTunnelOID,"1.3.6.1.5.5.7.3.6"); |
|
113 |
|
114 /** |
|
115 * This OID is associated with X.509 certificates |
|
116 * trusted for Ipsec user. |
|
117 * |
|
118 */ |
|
119 _LIT(KIpsecUserOID, "1.3.6.1.5.5.7.3.7"); |
|
120 |
|
121 /** |
|
122 * This OID is associated with X.509 certificates |
|
123 * trusted for binding the hash of an object to a time. |
|
124 * |
|
125 */ |
|
126 _LIT(KTimeStampingOID,"1.3.6.1.5.5.7.3.8"); |
|
127 |
|
128 /** |
|
129 * This OID is associated with X.509 certificates |
|
130 * trusted for signing OCSP responses. |
|
131 * |
|
132 */ |
|
133 _LIT(KOCSPSigningOID,"1.3.6.1.5.5.7.3.9"); |
|
134 |
|
135 |
|
136 #endif |