os/security/securityanddataprivacytools/securitytools/certapp/test/tcertapp/tcertapp_bad.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.
20 const char *badLabels[]=
22 "\"LetsTryLabelNameGreaterThen64CharactersToTestTheCertAppToolSymbianA\"", // >64 bytes
23 "\" \"", //no name in double quotes
24 "\"!@#$%%^&\"", //junk value
25 " ", // just empty space
30 const char *badDeletables[]=
33 "\"!@#\"", //junk value
39 const char *badFormats[]=
41 "EUnknownCertificate", //unsupported
42 "EX968CertificateUrl", //unsupported
43 "EWTLSCertificateUrl", //unsupported
49 const char *badCertOwnerTypes[]=
52 "\"@$@#$\"", //junk value
58 const char *badSubjectKeyIds[]=
62 "'3333CC:80:C1:A2:323EA::::64:E4:4D:99:2B:74'",
67 const char *badIssuerKeyIds[] =
71 "'3333CC:80:C1:A2:323EA::::64:E4:4D:99:2B:74'",
76 const char *badApplications[] =
84 const char *badTrusteds[] =
92 //bad array for certclient
93 const char *badCert_array[]=
101 //bad array for cacerts
102 const char *bademu_cacerts_array[]=
111 const char *badCapabilitySets[]=
121 const char *capabilitySets[]=
131 //bad mandatory values
132 const char *badMandatory[]=
140 //bad system upgrad values
141 const char *badSystemUpgrade[]=
150 const char *badUids[]=
152 "0xxxxxxxxx", //SW Install
153 "0x@$##%#$%", // SW install Ocsp Signing
154 " ", //Server Authentication
160 const char *appNames[]=
163 "\"SW install Ocsp Signing\"",
164 "\"Midlet Installation\"",
165 "\"Server Authentication\"",
169 //bad action names for the emulator tests
170 const char *badActionName[]=
179 const char *badActionType[]=
188 const char *badOwnerType[]=
196 //bad rcsa filter type
197 const char *badRcsaFilterType[]=
202 "532324335454656565757",
209 //bad applications names used for the certclient
210 const char *badcertclient_array[]=
213 "\"@#$@#%%#^%$^$%\"",
219 //bad app names used for swi certstore
220 const char *badSwiCert_array[]=
224 "\"@#$@#%%#^%$^$%\"",
231 const char *decimalUid_array[]=
233 "268452523", //uid of SWInstall
234 "268478646", //Uid of SW Install OCSP Signing
235 "270506792", //Uid of Midlet Installation
236 "268441661", //Uid of Server Authentication
240 const char *badDatafilePath[]=