javacommons/security/javaunicertstoreplugin/src.s60/200213A3.rss
branchRCL_3
changeset 19 04becd199f91
child 47 f40128debb5d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javacommons/security/javaunicertstoreplugin/src.s60/200213A3.rss	Tue Apr 27 16:30:29 2010 +0300
@@ -0,0 +1,73 @@
+/*
+* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Contains information about midp2certstore
+*
+*/
+
+
+// INCLUDES
+
+#include <registryinfov2.rh>
+#include <ct/interfaceuid.hrh>
+
+// Some defines of useful values for attributes to simplify
+// writing resource files
+
+// True
+#define CT_TRUE 1,0,0,0
+// False
+#define CT_FALSE 0,0,0,0
+
+// A number between 0 and 255
+#define CT_NUM8(x) x,0,0,0
+
+// Attribute UIDs.
+#define CT_SOFTWARE 0x7b, 0x52, 0x1f, 0x10
+#define CT_REMOVABLE 0x7c, 0x52, 0x1f, 0x10
+#define CT_ACCESS_CONTROLLED 0x7d, 0x52, 0x1f, 0x10
+#define CT_MAX_TOKEN_COUNT 0x7e, 0x52, 0x1f, 0x10
+#define CT_MIN_TOKEN_COUNT 0x7f, 0x52, 0x1f, 0x10
+
+// Interface UIDs
+#define CT_CERT_STORE 0x1B, 0x50, 0x1F, 0x10
+#define CT_WRITEABLE_CERT_STORE 0xFB, 0x20, 0x20, 0x10
+
+RESOURCE REGISTRY_INFO theInfo
+	{
+	resource_format_version = RESOURCE_FORMAT_VERSION_2;
+	dll_uid = 0x200213A3;
+	interfaces = 
+		{
+		INTERFACE_INFO
+			{
+			interface_uid = CT_INTERFACE_UID;
+			implementations = 
+				{
+				BINARY_IMPLEMENTATION_INFO
+					{
+					implementation_uid = 0x200213A3;					
+					version_no = 1;
+					display_name = "Java Certificate store";
+					default_data = { CT_CERT_STORE, CT_WRITEABLE_CERT_STORE };
+					opaque_data = { CT_SOFTWARE, CT_TRUE,
+									CT_REMOVABLE, CT_FALSE,
+									CT_ACCESS_CONTROLLED, CT_FALSE,
+									CT_MAX_TOKEN_COUNT, CT_NUM8(1),
+									CT_MIN_TOKEN_COUNT, CT_NUM8(1) };
+					rom_only = 0;	// This plugin can be loaded also from C:
+					}
+				};
+			}
+		};
+	}