os/security/securityanddataprivacytools/securitytools/certapp/test/tcertapp/tcertapp_good.cpp
First public contribution.
2 * Copyright (c) 2008-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.
15 * Good/Supportted values for labels
21 const char *goodLabels[]=
27 "\"Label With Spaces\"",
28 "\"label with a quote \\\" char in it\"",
29 //"\"label with backslash \\\\ char in it \"",
34 const char *goodCert_array[]=
37 "\"SymbianTestDSACA\"",
38 "\"SymbianTestRSACA\"",
40 "\"Label With Spaces\"",
41 "\"label with a quote \\\" char in it\"",
42 //"\"label with backslash \\\\ char in it \"",
49 const char *goodDeletables[]=
61 const char *goodEmuCert_array[]=
68 "label with a quote \" char in it",
69 //"label with backslash \\\\ char in it ",
74 const char *goodSwiCert_array[]=
81 "label with a quote \" char in it",
82 //"label with backslash \\ char in it ",
87 const char *goodFormats[]=
90 "EWTLSCertificate", // if specified as WTLS then subject key id is mandatory
95 const char *goodCertOwnerTypes[]=
98 "\"EUserCertificate\"",
99 "\"EPeerCertificate\"",
104 const char *goodSubjectKeyIds[]=
108 "'53:CC:80:C1:A2:EA:9C:94:17:B3:DE:38:44:63:64:E4:4D:99:2B:74'",
112 const char *goodIssuerKeyIds[] =
116 "'53:CC:80:C1:A2:EA:9C:94:17:B3:DE:38:44:63:64:E4:4D:99:2B:74'",
120 const char *goodApplications[] =
127 //good trusted values
128 const char *goodTrusteds[] =
138 const char *goodCapabilitySets[]=
164 const char *goodMandatory[]=
173 //good system upgrade
174 const char *goodSystemUpgrade[]=
185 const char *goodUids[]=
187 "0x100042ab", //SW Install
188 "0x1000a8b6", // SW install Ocsp Signing
189 "0x101f9b28", // Midlet Installation
190 "0x1000183d", //Server Authentication
194 // for cert client store
195 const char *goodAppNames[]=
198 "\"SW install Ocsp Signing\"",
199 "\"Midlet Installation\"",
200 "\"Server Authentication\"",
204 const char *goodActionType[]=
212 const char *goodOwnerType[]=
221 //Filter type required for rcsa
222 const char *goodRcsaFilterType[]=
227 "53cc80c1a2ea9c9417b3de38446364e44d992b74",
234 // applications names used in the store
235 const char *goodcertclient_array[]=
238 "SW install Ocsp Signing",
239 "Midlet Installation",
240 "Server Authentication",
246 const char *gooduid_array[]=
248 "0x100042ab", //uid of SWInstall
249 "0x1000a8b6", //Uid of SW Install OCSP Signing
250 "0x101f9b28", //Uid of Midlet Installation
251 "0x1000183d" //Uid of Server Authentication
254 // decimal arry of uid
255 const char *gooddecimalUid_array[]=
257 "268452523", //uid of SWInstall
258 "268478646", //Uid of SW Install OCSP Signing
259 "270506792", //Uid of Midlet Installation
260 "268441661" //Uid of Server Authentication
263 const char *goodTrust[]=
269 const char *mandatory[]=
277 const char *systemUpgrade[]=
285 const char *deletable[]=