sl@0: /* sl@0: * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * Good/Supportted values for labels sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: const char *goodLabels[]= sl@0: { sl@0: "\"SymbianA\"", sl@0: "\"SymbianB\"", sl@0: "\"SymbianC\"", sl@0: "\"SymbianD\"", sl@0: "\"Label With Spaces\"", sl@0: "\"label with a quote \\\" char in it\"", sl@0: //"\"label with backslash \\\\ char in it \"", sl@0: 0 //null termination sl@0: }; sl@0: sl@0: sl@0: const char *goodCert_array[]= sl@0: { sl@0: "\"Root5CA\"", sl@0: "\"SymbianTestDSACA\"", sl@0: "\"SymbianTestRSACA\"", sl@0: "\"0\"", sl@0: "\"Label With Spaces\"", sl@0: "\"label with a quote \\\" char in it\"", sl@0: //"\"label with backslash \\\\ char in it \"", sl@0: 0 sl@0: }; sl@0: sl@0: sl@0: sl@0: //good deletables sl@0: const char *goodDeletables[]= sl@0: { sl@0: "\"true\"", sl@0: "\"false\"", sl@0: "\"0\"", sl@0: "\"1\"", sl@0: "\"ETrue\"", sl@0: "\"EFalse\"", sl@0: 0 sl@0: }; sl@0: sl@0: sl@0: const char *goodEmuCert_array[]= sl@0: { sl@0: "Root5CA", sl@0: "SymbianTestDSACA", sl@0: "SymbianTestRSACA", sl@0: "0", sl@0: "Label With Spaces", sl@0: "label with a quote \" char in it", sl@0: //"label with backslash \\\\ char in it ", sl@0: 0 sl@0: }; sl@0: sl@0: sl@0: const char *goodSwiCert_array[]= sl@0: { sl@0: "SymbianA", sl@0: "SymbianB", sl@0: "SymbianC", sl@0: "SymbianD", sl@0: "Label With Spaces", sl@0: "label with a quote \" char in it", sl@0: //"label with backslash \\ char in it ", sl@0: 0 //null termination sl@0: }; sl@0: sl@0: sl@0: const char *goodFormats[]= sl@0: { sl@0: "EX509Certificate", sl@0: "EWTLSCertificate", // if specified as WTLS then subject key id is mandatory sl@0: "0", sl@0: 0 sl@0: }; sl@0: sl@0: const char *goodCertOwnerTypes[]= sl@0: { sl@0: "\"ECACertificate\"", sl@0: "\"EUserCertificate\"", sl@0: "\"EPeerCertificate\"", sl@0: "0", sl@0: 0 sl@0: }; sl@0: sl@0: const char *goodSubjectKeyIds[]= sl@0: { sl@0: "auto", sl@0: "''", sl@0: "'53:CC:80:C1:A2:EA:9C:94:17:B3:DE:38:44:63:64:E4:4D:99:2B:74'", sl@0: 0 sl@0: }; sl@0: sl@0: const char *goodIssuerKeyIds[] = sl@0: { sl@0: "auto", sl@0: "''", sl@0: "'53:CC:80:C1:A2:EA:9C:94:17:B3:DE:38:44:63:64:E4:4D:99:2B:74'", sl@0: 0 sl@0: }; sl@0: sl@0: const char *goodApplications[] = sl@0: { sl@0: "\"SW Install\"", sl@0: "\"0x1000a8b6\"", sl@0: 0 sl@0: }; sl@0: sl@0: //good trusted values sl@0: const char *goodTrusteds[] = sl@0: { sl@0: "\"true\"", sl@0: "\"false\"", sl@0: "0", sl@0: "1", sl@0: 0 sl@0: }; sl@0: sl@0: //for swi cert store sl@0: const char *goodCapabilitySets[]= sl@0: { sl@0: "TCB", sl@0: "CommDD", sl@0: "PowerMgmt", sl@0: "MultimediaDD", sl@0: "ReadDeviceData", sl@0: "WriteDeviceData", sl@0: "DRM", sl@0: "TrustedUI", sl@0: "ProtServ", sl@0: "DiskAdmin", sl@0: "NetworkControl", sl@0: "AllFiles", sl@0: "SwEvent", sl@0: "NetworkServices", sl@0: "LocalServices", sl@0: "ReadUserData", sl@0: "WriteUserData", sl@0: "Location", sl@0: "SurroundingsDD", sl@0: "UserEnvironment", sl@0: 0 sl@0: }; sl@0: sl@0: //good mandatory sl@0: const char *goodMandatory[]= sl@0: { sl@0: "\"true\"", sl@0: "\"false\"", sl@0: "0", sl@0: "1", sl@0: 0 sl@0: }; sl@0: sl@0: //good system upgrade sl@0: const char *goodSystemUpgrade[]= sl@0: { sl@0: "\"true\"", sl@0: "\"false\"", sl@0: "0", sl@0: "1", sl@0: 0 sl@0: }; sl@0: sl@0: sl@0: //for cacerts file sl@0: const char *goodUids[]= sl@0: { sl@0: "0x100042ab", //SW Install sl@0: "0x1000a8b6", // SW install Ocsp Signing sl@0: "0x101f9b28", // Midlet Installation sl@0: "0x1000183d", //Server Authentication sl@0: 0 sl@0: }; sl@0: sl@0: // for cert client store sl@0: const char *goodAppNames[]= sl@0: { sl@0: "\"SW Install\"", sl@0: "\"SW install Ocsp Signing\"", sl@0: "\"Midlet Installation\"", sl@0: "\"Server Authentication\"", sl@0: 0 sl@0: }; sl@0: sl@0: const char *goodActionType[]= sl@0: { sl@0: "init", sl@0: "listcert", sl@0: 0 sl@0: }; sl@0: sl@0: sl@0: const char *goodOwnerType[]= sl@0: { sl@0: "ca", sl@0: "User", sl@0: "Peer", sl@0: "0", sl@0: 0 sl@0: }; sl@0: sl@0: //Filter type required for rcsa sl@0: const char *goodRcsaFilterType[]= sl@0: { sl@0: "Root5CA", sl@0: "X509", sl@0: "ca", sl@0: "53cc80c1a2ea9c9417b3de38446364e44d992b74", sl@0: "549", sl@0: "1", sl@0: 0 sl@0: }; sl@0: sl@0: sl@0: // applications names used in the store sl@0: const char *goodcertclient_array[]= sl@0: { sl@0: "SW Install", sl@0: "SW install Ocsp Signing", sl@0: "Midlet Installation", sl@0: "Server Authentication", sl@0: 0 sl@0: }; sl@0: sl@0: sl@0: //hex array of uid sl@0: const char *gooduid_array[]= sl@0: { sl@0: "0x100042ab", //uid of SWInstall sl@0: "0x1000a8b6", //Uid of SW Install OCSP Signing sl@0: "0x101f9b28", //Uid of Midlet Installation sl@0: "0x1000183d" //Uid of Server Authentication sl@0: }; sl@0: sl@0: // decimal arry of uid sl@0: const char *gooddecimalUid_array[]= sl@0: { sl@0: "268452523", //uid of SWInstall sl@0: "268478646", //Uid of SW Install OCSP Signing sl@0: "270506792", //Uid of Midlet Installation sl@0: "268441661" //Uid of Server Authentication sl@0: }; sl@0: sl@0: const char *goodTrust[]= sl@0: { sl@0: "1", sl@0: "0" sl@0: }; sl@0: sl@0: const char *mandatory[]= sl@0: { sl@0: "ETrue", sl@0: "EFalse", sl@0: "0", sl@0: "1" sl@0: }; sl@0: sl@0: const char *systemUpgrade[]= sl@0: { sl@0: "ETrue", sl@0: "EFalse", sl@0: "1", sl@0: "0" sl@0: }; sl@0: sl@0: const char *deletable[]= sl@0: { sl@0: "ETrue", sl@0: "EFalse", sl@0: "0", sl@0: "1" sl@0: }; sl@0: sl@0: // End of file sl@0: sl@0: