diff -r 000000000000 -r bde4ae8d615e os/security/contentmgmt/contentaccessfwfordrm/engineering/dox/HowToAgentConfiguration.dox --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/security/contentmgmt/contentaccessfwfordrm/engineering/dox/HowToAgentConfiguration.dox Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,78 @@ +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of the License "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: +//
|
' character
+// and the supplier MIME types are separated from the consumer MIME types by a ':
' character.
+// Below is an example for an OMA DRM agent.
+// default_data="100|application/vnd.oma.drm.message,application/vnd.oma.drm.rights+xml:application/vnd.oma.drm.content";
+// c:\\private\\
. This will be the
+// SID (SecureId) of the server who owns the directory, e.g.
+// opaque_data="12345678";
+// If the agent does not have a corresponding private directory or does not wish to provide access to that directory, it
+// should just leave the \c opaque_data section as an empty string.
+// ContentAccess::CAgentManager::RecognizeFileL()
is called
+ @li A list of supplier MIME types supported by this agent
+ @li A list of consumer MIME types supported by this agent.
+ @code
+ @endcode
+ @li It requires at least the first 100 bytes of a file in order to do recognition
+ @li It supports a supplier MIME types of application/vnd.oma.drm.message
and application/vnd.oma.drm.rights+xml
+ @li It supports a consumer MIME type of application/vnd.oma.drm.content
.
+ @section opaque_data opaque_data
+ @code
+ @endcode
+ @section RSSExample An Example Agent Resource File
+ @code
+ @endcode
+ @section UIDs Important UIDs for CA Agents
+ @li \c 0x10009D8D - the ECOM DLL UID. Identifies a DLL as an ECOM plugin
+ @li \c 0x101FC2CE - The Content Access Agent v1.0 interface, an implementation of ContentAccess::CAgentFactory::NewL()
.
+ @li \c 0x10204740 - The Content Access Agent v2.0 interface, an implementation of ContentAccess::CAgentFactory::NewL()
.
+*/