omadrm/drmengine/utils/inc/drmrel2_1stringdict00.h
changeset 0 95b198f216e5
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2007 - 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  String Dictionary for OMA 2.1 Drm
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_DRMREL2_1STRINGDICT00_H
       
    20 #define C_DRMREL2_1STRINGDICT00_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <stringpool.h>
       
    24 #include <xml/plugins/stringdictionary.h>
       
    25 
       
    26 
       
    27 class CDrmRel2_1StringDict00 : public CBase, public Xml::MStringDictionary
       
    28 /**
       
    29 The DrmRel2_1StringDict00 class is a derived class defining the API of a single string dictionary. 
       
    30 
       
    31 Derived classes must add all elements, attributes names, and attribute values that belong
       
    32 to this string dictionary as static string tables to the StringPool. WBXML token mappings between 
       
    33 strings and WBXML tokens should also be maintained.
       
    34 
       
    35 @internalTechnology
       
    36 @interim This is the first drop of this component.
       
    37 */
       
    38 	{
       
    39 public:
       
    40 	static Xml::MStringDictionary* NewL( TAny* aStringPool );
       
    41 	virtual ~CDrmRel2_1StringDict00();
       
    42 	void ConstructL();
       
    43 
       
    44 	void ElementL( TInt aToken, RString& aElement ) const;
       
    45 	void AttributeL( TInt aToken, RString& aAttribute ) const;
       
    46 	void AttributeValuePairL( TInt aToken, RString& aAttribute, RString& aValue ) const;
       
    47 	void AttributeValueL( TInt aToken, RString& aValue ) const;
       
    48 
       
    49 	TBool CompareThisDictionary( const RString& aDictionaryDescription ) const;
       
    50 
       
    51 	TInt SwitchCodePage( TInt aCodePage );
       
    52 	void PublicIdentifier( RString& aPubId );
       
    53 	void NamespaceUri( RString& aUri );
       
    54 
       
    55 	void Release();
       
    56 
       
    57 public:
       
    58 
       
    59 	// CodePage tokens.
       
    60 	//
       
    61 	// Note: There will be correlation between these token values and their
       
    62 	// strings via the CDictionaryCodePage using the RStringPool.
       
    63     enum TTagToken
       
    64         {
       
    65 		// CodePage 00
       
    66 		// -//OMA/DRM 2.1//EN
       
    67         ERoapTrigger = 0x05,
       
    68         ERoapTriggerWithContent = 0x45,
       
    69         ERoapTriggerWithAttributes = 0x85,
       
    70         ERoapTriggerWithContentAndAttributes = 0xC5,
       
    71         ERegistrationRequest = 0x06,
       
    72         ERegistrationRequestWithContent = 0x46,
       
    73         ERegistrationRequestWithAttributes = 0x86,
       
    74         ERegistrationRequestWithContentAndAttributes = 0xC6,
       
    75         EROAcquisition = 0x07,
       
    76         EROAcquisitionWithContent = 0x47,
       
    77         EROAcquisitionWithAttributes = 0x87,
       
    78         EROAcquisitionWithContentAndAttributes = 0xC7,
       
    79         EJoinDomain = 0x08,
       
    80         EJoinDomainWithContent = 0x48,
       
    81         EJoinDomainWithAttributes = 0x88,
       
    82         EJoinDomainWithContentAndAttributes = 0xC8,
       
    83         ELeaveDomain = 0x09,
       
    84         ELeaveDomainWithContent = 0x49,
       
    85         ELeaveDomainWithAttributes = 0x89,
       
    86         ELeaveDomainWithContentAndAttributes = 0xC9,
       
    87         ESignature = 0x0A,
       
    88         ESignatureWithContent = 0x4A,
       
    89         ESignatureWithAttributes = 0x8A,
       
    90         ESignatureWithContentAndAttributes = 0xCA,
       
    91         EEncKey = 0x0B,
       
    92         EEncKeyWithContent = 0x4B,
       
    93         EEncKeyWithAttributes = 0x8B,
       
    94         EEncKeyWithContentAndAttributes = 0xCB,
       
    95         ERiId = 0x0C,
       
    96         ERiIdWithContent = 0x4C,
       
    97         ERiIdWithAttributes = 0x8C,
       
    98         ERiIdWithContentAndAttributes = 0xCC,
       
    99         ERiAlias = 0x0D,
       
   100         ERiAliasWithContent = 0x4D,
       
   101         ERiAliasWithAttributes = 0x8D,
       
   102         ERiAliasWithContentAndAttributes = 0xCD,
       
   103         ENonce = 0x0E,
       
   104         ENonceWithContent = 0x4E,
       
   105         ENonceWithAttributes = 0x8E,
       
   106         ENonceWithContentAndAttributes = 0xCE,
       
   107         ERoapUrl = 0x0F,
       
   108         ERoapUrlWithContent = 0x4F,
       
   109         ERoapUrlWithAttributes = 0x8F,
       
   110         ERoapUrlWithContentAndAttributes = 0xCF,
       
   111         EDomainId = 0x10,
       
   112         EDomainIdWithContent = 0x50,
       
   113         EDomainIdWithAttributes = 0x90,
       
   114         EDomainIdWithContentAndAttributes = 0xD0,
       
   115         EDomainAlias = 0x11,
       
   116         EDomainAliasWithContent = 0x51,
       
   117         EDomainAliasWithAttributes = 0x91,
       
   118         EDomainAliasWithContentAndAttributes = 0xD1,
       
   119         ERoapDomainId = 0x12,
       
   120         ERoapDomainIdWithContent = 0x52,
       
   121         ERoapDomainIdWithAttributes = 0x92,
       
   122         ERoapDomainIdWithContentAndAttributes = 0xD2,
       
   123         ERoId = 0x13,
       
   124         ERoIdWithContent = 0x53,
       
   125         ERoIdWithAttributes = 0x93,
       
   126         ERoIdWithContentAndAttributes = 0xD3,
       
   127         ERoAlias = 0x14,
       
   128         ERoAliasWithContent = 0x54,
       
   129         ERoAliasWithAttributes = 0x94,
       
   130         ERoAliasWithContentAndAttributes = 0xD4,
       
   131         EContentId = 0x15,
       
   132         EContentIdWithContent = 0x55,
       
   133         EContentIdWithAttributes = 0x95,
       
   134         EContentIdWithContentAndAttributes = 0xD5,
       
   135         ERoapX509SPKIHash = 0x16,
       
   136         ERoapX509SPKIHashWithContent = 0x56,
       
   137         ERoapX509SPKIHashWithAttributes = 0x96,
       
   138         ERoapX509SPKIHashWithContentAndAttributes = 0xD6,
       
   139         EKeyIdentifier = 0x17,
       
   140         EKeyIdentifierWithContent = 0x57,
       
   141         EKeyIdentifierWithAttributes = 0x97,
       
   142         EKeyIdentifierWithContentAndAttributes = 0xD7,
       
   143         EHash = 0x18,
       
   144         EHashWithContent = 0x58,
       
   145         EHashWithAttributes = 0x98,
       
   146         EHashWithContentAndAttributes = 0xD8,
       
   147         EDsSignedInfo = 0x19,
       
   148         EDsSignedInfoWithContent = 0x59,
       
   149         EDsSignedInfoWithAttributes = 0x99,
       
   150         EDsSignedInfoWithContentAndAttributes = 0xD9,
       
   151         EDsSignatureValue = 0x1A,
       
   152         EDsSignatureValueWithContent = 0x5A,
       
   153         EDsSignatureValueWithAttributes = 0x9A,
       
   154         EDsSignatureValueWithContentAndAttributes = 0xDA,
       
   155         EDsKeyInfo = 0x1B,
       
   156         EDsKeyInfoWithContent = 0x5B,
       
   157         EDsKeyInfoWithAttributes = 0x9B,
       
   158         EDsKeyInfoWithContentAndAttributes = 0xDB,
       
   159         EDsCanonicalisationMethod = 0x1C,
       
   160         EDsCanonicalisationMethodWithContent = 0x5C,
       
   161         EDsCanonicalisationMethodWithAttributes = 0x9C,
       
   162         EDsCanonicalisationMethodWithContentAndAttributes = 0xDC,
       
   163         EDsSignatureMethod = 0x1D,
       
   164         EDsSignatureMethodWithContent = 0x5D,
       
   165         EDsSignatureMethodWithAttributes = 0x9D,
       
   166         EDsSignatureMethodWithContentAndAttributes = 0xDD,
       
   167         EDsReference = 0x1E,
       
   168         EDsReferenceWithContent = 0x5E,
       
   169         EDsReferenceWithAttributes = 0x9E,
       
   170         EDsReferenceWithContentAndAttributes = 0xDE,
       
   171         EDsRetrievalMethod = 0x1F,
       
   172         EDsRetrievalMethodWithContent = 0x5F,
       
   173         EDsRetrievalMethodWithAttributes = 0x9F,
       
   174         EDsRetrievalMethodWithContentAndAttributes = 0xDF,
       
   175         EDsTransforms = 0x20,
       
   176         EDsTransformsWithContent = 0x60,
       
   177         EDsTransformsWithAttributes = 0xA0,
       
   178         EDsTransformsWithContentAndAttributes = 0xE0,
       
   179         EDsDigestMethod = 0x21,
       
   180         EDsDigestMethodWithContent = 0x61,
       
   181         EDsDigestMethodWithAttributes = 0xA1,
       
   182         EDsDigestMethodWithContentAndAttributes = 0xE1,
       
   183         EDsDigestValue = 0x22,
       
   184         EDsDigestValueWithContent = 0x62,
       
   185         EDsDigestValueWithAttributes = 0xA2,
       
   186         EDsDigestValueWithContentAndAttributes = 0xE2,
       
   187         EDsTransform = 0x23,
       
   188         EDsTransformWithContent = 0x63,
       
   189         EDsTransformWithAttributes = 0xA3,
       
   190         EDsTransformWithContentAndAttributes = 0xE3,
       
   191         EXencEncryptionMethod = 0x24,
       
   192         EXencEncryptionMethodWithContent = 0x64,
       
   193         EXencEncryptionMethodWithAttributes = 0xA4,
       
   194         EXencEncryptionMethodWithContentAndAttributes = 0xE4,
       
   195         EXencCipherData = 0x25,
       
   196         EXencCipherDataWithContent = 0x65,
       
   197         EXencCipherDataWithAttributes = 0xA5,
       
   198         EXencCipherDataWithContentAndAttributes = 0xE5,
       
   199         EXencCipherValue = 0x26,
       
   200         EXencCipherValueWithContent = 0x66,
       
   201         EXencCipherValueWithAttributes = 0xA6,
       
   202         EXencCipherValueWithContentAndAttributes = 0xE6,
       
   203         EExtentedTrigger = 0x27,
       
   204         EExtentedTriggerWithContent = 0x67,
       
   205         EExtentedTriggerWithAttributes = 0xA7,
       
   206         EExtentedTriggerWithContentAndAttributes = 0xE7,
       
   207         ETrgLeaveDomain = 0x28,
       
   208         ETrgLeaveDomainWithContent = 0x68,
       
   209         ETrgLeaveDomainWithAttributes = 0xA8,
       
   210         ETrgLeaveDomainWithContentAndAttributes = 0xE8,
       
   211         EDeviceId = 0x29,
       
   212         EDeviceIdWithContent = 0x69,
       
   213         EDeviceIdWithAttributes = 0xA9,
       
   214         EDeviceIdWithContentAndAttributes = 0xE9
       
   215         };
       
   216 
       
   217 
       
   218 	enum TAttributeToken
       
   219         {
       
   220 		// CodePage 00
       
   221 		// -//OMA/DRM 2.1//EN
       
   222         EXsiType = 0x05,
       
   223         EXmlnsRoap = 0x06,
       
   224         EXmlnsXsi = 0x07,
       
   225         EXmlnsXenc = 0x08,
       
   226         EXmlnsDs = 0x09,
       
   227         EXmlnsOex = 0x0A,
       
   228         EXmlnsOdd = 0x0B,
       
   229         EXmlnsOmadd = 0x0C,
       
   230         EVersion = 0x0D,
       
   231         EProxy = 0x0E,
       
   232         EId = 0x0F, 
       
   233         EId2 = 0x10,
       
   234         ELCAlgorithm = 0x11,
       
   235         EHCAlgorithm = 0x12,
       
   236         EUri = 0x13,
       
   237         EType = 0x14
       
   238         };
       
   239 
       
   240 
       
   241 
       
   242 	enum TAttributeValueToken
       
   243         {
       
   244 		// CodePage 00
       
   245 		// -//OMA/DRM 2.1//EN
       
   246         EXsiTypeValue = 0x05,
       
   247         EXmlnsRoapValue = 0x06,
       
   248         EXmlnsXsiValue = 0x07,
       
   249         EXmlnsXencValue = 0x08,
       
   250         EXmlnsDsValue = 0x09,
       
   251         EXmlnsOexValue = 0x0A,
       
   252         EXmlnsOddValue = 0x0B,
       
   253         EXmlnsOmaddValue = 0x0C,
       
   254         EVersionValue = 0x0D,
       
   255         EProxyValue = 0x0E,
       
   256         EIdValue = 0x0F, 
       
   257         EId2Value = 0x10,
       
   258         ELCAlgorithmValue = 0x11,
       
   259         EHCAlgorithmValue = 0x12,
       
   260         EUriValue = 0x13,
       
   261         ETypeValue = 0x14,
       
   262         EUrn = 0x85,
       
   263         EOdrlEx = 0x86,
       
   264         EOdrlDd = 0x87,
       
   265         EOmaDd = 0x88,
       
   266         EXmldSig = 0x89,
       
   267         EXmlEnc = 0x8A,
       
   268         EXmlSchema = 0x8B,
       
   269         ERoapX509SPKIHashValue = 0x8C,
       
   270         EXmldSigSha1 = 0x8D,
       
   271         EXmlExcC14 = 0x8E,
       
   272         EXmldSigHmacSha1 = 0x8F,
       
   273         EVersion1 = 0x90,
       
   274         EVersion2 = 0x91,
       
   275         EVersion21 = 0x92,
       
   276         EIdentificationRequest = 0x93,
       
   277         ERoUploadRequest = 0x94,
       
   278         EMeteringReport = 0x95,
       
   279         ELeaveDomainValue = 0x96
       
   280 	    };
       
   281 
       
   282 
       
   283 
       
   284 private:
       
   285 
       
   286 	CDrmRel2_1StringDict00( RStringPool* aStringPool );
       
   287 
       
   288 private:
       
   289 
       
   290     /**
       
   291     The StringPool for this string dictionary.
       
   292     We don't own this.
       
   293     */
       
   294 	RStringPool				iStringPool;
       
   295 
       
   296 	Xml::CDictionaryCodePage*	iCodepage00Table;
       
   297 
       
   298 	TInt					iCodePage;
       
   299 
       
   300 	};
       
   301 
       
   302 
       
   303 const TInt iTagCodePage00[] = 
       
   304 	{
       
   305     CDrmRel2_1StringDict00::ERoapTrigger,
       
   306     CDrmRel2_1StringDict00::ERoapTriggerWithContent,
       
   307     CDrmRel2_1StringDict00::ERoapTriggerWithAttributes,
       
   308     CDrmRel2_1StringDict00::ERoapTriggerWithContentAndAttributes,
       
   309     CDrmRel2_1StringDict00::ERegistrationRequest,
       
   310     CDrmRel2_1StringDict00::ERegistrationRequestWithContent,
       
   311     CDrmRel2_1StringDict00::ERegistrationRequestWithAttributes,
       
   312     CDrmRel2_1StringDict00::ERegistrationRequestWithContentAndAttributes,
       
   313     CDrmRel2_1StringDict00::EROAcquisition,
       
   314     CDrmRel2_1StringDict00::EROAcquisitionWithContent,
       
   315     CDrmRel2_1StringDict00::EROAcquisitionWithAttributes,
       
   316     CDrmRel2_1StringDict00::EROAcquisitionWithContentAndAttributes,
       
   317     CDrmRel2_1StringDict00::EJoinDomain,
       
   318     CDrmRel2_1StringDict00::EJoinDomainWithContent,
       
   319     CDrmRel2_1StringDict00::EJoinDomainWithAttributes,
       
   320     CDrmRel2_1StringDict00::EJoinDomainWithContentAndAttributes,
       
   321     CDrmRel2_1StringDict00::ELeaveDomain,
       
   322     CDrmRel2_1StringDict00::ELeaveDomainWithContent,
       
   323     CDrmRel2_1StringDict00::ELeaveDomainWithAttributes,
       
   324     CDrmRel2_1StringDict00::ELeaveDomainWithContentAndAttributes,
       
   325     CDrmRel2_1StringDict00::ESignature,
       
   326     CDrmRel2_1StringDict00::ESignatureWithContent,
       
   327     CDrmRel2_1StringDict00::ESignatureWithAttributes,
       
   328     CDrmRel2_1StringDict00::ESignatureWithContentAndAttributes,
       
   329     CDrmRel2_1StringDict00::EEncKey,
       
   330     CDrmRel2_1StringDict00::EEncKeyWithContent,
       
   331     CDrmRel2_1StringDict00::EEncKeyWithAttributes,
       
   332     CDrmRel2_1StringDict00::EEncKeyWithContentAndAttributes,
       
   333     CDrmRel2_1StringDict00::ERiId,
       
   334     CDrmRel2_1StringDict00::ERiIdWithContent,
       
   335     CDrmRel2_1StringDict00::ERiIdWithAttributes,
       
   336     CDrmRel2_1StringDict00::ERiIdWithContentAndAttributes,
       
   337     CDrmRel2_1StringDict00::ERiAlias,
       
   338     CDrmRel2_1StringDict00::ERiAliasWithContent,
       
   339     CDrmRel2_1StringDict00::ERiAliasWithAttributes,
       
   340     CDrmRel2_1StringDict00::ERiAliasWithContentAndAttributes,
       
   341     CDrmRel2_1StringDict00::ENonce,
       
   342     CDrmRel2_1StringDict00::ENonceWithContent,
       
   343     CDrmRel2_1StringDict00::ENonceWithAttributes,
       
   344     CDrmRel2_1StringDict00::ENonceWithContentAndAttributes,
       
   345     CDrmRel2_1StringDict00::ERoapUrl,
       
   346     CDrmRel2_1StringDict00::ERoapUrlWithContent,
       
   347     CDrmRel2_1StringDict00::ERoapUrlWithAttributes,
       
   348     CDrmRel2_1StringDict00::ERoapUrlWithContentAndAttributes,
       
   349     CDrmRel2_1StringDict00::EDomainId,
       
   350     CDrmRel2_1StringDict00::EDomainIdWithContent,
       
   351     CDrmRel2_1StringDict00::EDomainIdWithAttributes,
       
   352     CDrmRel2_1StringDict00::EDomainIdWithContentAndAttributes,
       
   353     CDrmRel2_1StringDict00::EDomainAlias,
       
   354     CDrmRel2_1StringDict00::EDomainAliasWithContent,
       
   355     CDrmRel2_1StringDict00::EDomainAliasWithAttributes,
       
   356     CDrmRel2_1StringDict00::EDomainAliasWithContentAndAttributes,
       
   357     CDrmRel2_1StringDict00::ERoapDomainId,
       
   358     CDrmRel2_1StringDict00::ERoapDomainIdWithContent,
       
   359     CDrmRel2_1StringDict00::ERoapDomainIdWithAttributes,
       
   360     CDrmRel2_1StringDict00::ERoapDomainIdWithContentAndAttributes,
       
   361     CDrmRel2_1StringDict00::ERoId,
       
   362     CDrmRel2_1StringDict00::ERoIdWithContent,
       
   363     CDrmRel2_1StringDict00::ERoIdWithAttributes,
       
   364     CDrmRel2_1StringDict00::ERoIdWithContentAndAttributes,
       
   365     CDrmRel2_1StringDict00::ERoAlias,
       
   366     CDrmRel2_1StringDict00::ERoAliasWithContent,
       
   367     CDrmRel2_1StringDict00::ERoAliasWithAttributes,
       
   368     CDrmRel2_1StringDict00::ERoAliasWithContentAndAttributes,
       
   369     CDrmRel2_1StringDict00::EContentId,
       
   370     CDrmRel2_1StringDict00::EContentIdWithContent,
       
   371     CDrmRel2_1StringDict00::EContentIdWithAttributes,
       
   372     CDrmRel2_1StringDict00::EContentIdWithContentAndAttributes,
       
   373     CDrmRel2_1StringDict00::ERoapX509SPKIHash,
       
   374     CDrmRel2_1StringDict00::ERoapX509SPKIHashWithContent,
       
   375     CDrmRel2_1StringDict00::ERoapX509SPKIHashWithAttributes,
       
   376     CDrmRel2_1StringDict00::ERoapX509SPKIHashWithContentAndAttributes,
       
   377     CDrmRel2_1StringDict00::EKeyIdentifier,
       
   378     CDrmRel2_1StringDict00::EKeyIdentifierWithContent,
       
   379     CDrmRel2_1StringDict00::EKeyIdentifierWithAttributes,
       
   380     CDrmRel2_1StringDict00::EKeyIdentifierWithContentAndAttributes,
       
   381     CDrmRel2_1StringDict00::EHash,
       
   382     CDrmRel2_1StringDict00::EHashWithContent,
       
   383     CDrmRel2_1StringDict00::EHashWithAttributes,
       
   384     CDrmRel2_1StringDict00::EHashWithContentAndAttributes,
       
   385     CDrmRel2_1StringDict00::EDsSignedInfo,
       
   386     CDrmRel2_1StringDict00::EDsSignedInfoWithContent,
       
   387     CDrmRel2_1StringDict00::EDsSignedInfoWithAttributes,
       
   388     CDrmRel2_1StringDict00::EDsSignedInfoWithContentAndAttributes,
       
   389     CDrmRel2_1StringDict00::EDsSignatureValue,
       
   390     CDrmRel2_1StringDict00::EDsSignatureValueWithContent,
       
   391     CDrmRel2_1StringDict00::EDsSignatureValueWithAttributes,
       
   392     CDrmRel2_1StringDict00::EDsSignatureValueWithContentAndAttributes,
       
   393     CDrmRel2_1StringDict00::EDsKeyInfo,
       
   394     CDrmRel2_1StringDict00::EDsKeyInfoWithContent,
       
   395     CDrmRel2_1StringDict00::EDsKeyInfoWithAttributes,
       
   396     CDrmRel2_1StringDict00::EDsKeyInfoWithContentAndAttributes,
       
   397     CDrmRel2_1StringDict00::EDsCanonicalisationMethod,
       
   398     CDrmRel2_1StringDict00::EDsCanonicalisationMethodWithContent,
       
   399     CDrmRel2_1StringDict00::EDsCanonicalisationMethodWithAttributes,
       
   400     CDrmRel2_1StringDict00::EDsCanonicalisationMethodWithContentAndAttributes,
       
   401     CDrmRel2_1StringDict00::EDsSignatureMethod,
       
   402     CDrmRel2_1StringDict00::EDsSignatureMethodWithContent,
       
   403     CDrmRel2_1StringDict00::EDsSignatureMethodWithAttributes,
       
   404     CDrmRel2_1StringDict00::EDsSignatureMethodWithContentAndAttributes,
       
   405     CDrmRel2_1StringDict00::EDsReference,
       
   406     CDrmRel2_1StringDict00::EDsReferenceWithContent,
       
   407     CDrmRel2_1StringDict00::EDsReferenceWithAttributes,
       
   408     CDrmRel2_1StringDict00::EDsReferenceWithContentAndAttributes,
       
   409     CDrmRel2_1StringDict00::EDsRetrievalMethod,
       
   410     CDrmRel2_1StringDict00::EDsRetrievalMethodWithContent,
       
   411     CDrmRel2_1StringDict00::EDsRetrievalMethodWithAttributes,
       
   412     CDrmRel2_1StringDict00::EDsRetrievalMethodWithContentAndAttributes,
       
   413     CDrmRel2_1StringDict00::EDsTransforms,
       
   414     CDrmRel2_1StringDict00::EDsTransformsWithContent,
       
   415     CDrmRel2_1StringDict00::EDsTransformsWithAttributes,
       
   416     CDrmRel2_1StringDict00::EDsTransformsWithContentAndAttributes,
       
   417     CDrmRel2_1StringDict00::EDsDigestMethod,
       
   418     CDrmRel2_1StringDict00::EDsDigestMethodWithContent,
       
   419     CDrmRel2_1StringDict00::EDsDigestMethodWithAttributes,
       
   420     CDrmRel2_1StringDict00::EDsDigestMethodWithContentAndAttributes,
       
   421     CDrmRel2_1StringDict00::EDsDigestValue,
       
   422     CDrmRel2_1StringDict00::EDsDigestValueWithContent,
       
   423     CDrmRel2_1StringDict00::EDsDigestValueWithAttributes,
       
   424     CDrmRel2_1StringDict00::EDsDigestValueWithContentAndAttributes,
       
   425     CDrmRel2_1StringDict00::EDsTransform,
       
   426     CDrmRel2_1StringDict00::EDsTransformWithContent,
       
   427     CDrmRel2_1StringDict00::EDsTransformWithAttributes,
       
   428     CDrmRel2_1StringDict00::EDsTransformWithContentAndAttributes,
       
   429     CDrmRel2_1StringDict00::EXencEncryptionMethod,
       
   430     CDrmRel2_1StringDict00::EXencEncryptionMethodWithContent,
       
   431     CDrmRel2_1StringDict00::EXencEncryptionMethodWithAttributes,
       
   432     CDrmRel2_1StringDict00::EXencEncryptionMethodWithContentAndAttributes,
       
   433     CDrmRel2_1StringDict00::EXencCipherData,
       
   434     CDrmRel2_1StringDict00::EXencCipherDataWithContent,
       
   435     CDrmRel2_1StringDict00::EXencCipherDataWithAttributes,
       
   436     CDrmRel2_1StringDict00::EXencCipherDataWithContentAndAttributes,
       
   437     CDrmRel2_1StringDict00::EXencCipherValue,
       
   438     CDrmRel2_1StringDict00::EXencCipherValueWithContent,
       
   439     CDrmRel2_1StringDict00::EXencCipherValueWithAttributes,
       
   440     CDrmRel2_1StringDict00::EXencCipherValueWithContentAndAttributes,
       
   441     CDrmRel2_1StringDict00::EExtentedTrigger,
       
   442     CDrmRel2_1StringDict00::EExtentedTriggerWithContent,
       
   443     CDrmRel2_1StringDict00::EExtentedTriggerWithAttributes,
       
   444     CDrmRel2_1StringDict00::EExtentedTriggerWithContentAndAttributes,
       
   445     CDrmRel2_1StringDict00::ETrgLeaveDomain,
       
   446     CDrmRel2_1StringDict00::ETrgLeaveDomainWithContent,
       
   447     CDrmRel2_1StringDict00::ETrgLeaveDomainWithAttributes,
       
   448     CDrmRel2_1StringDict00::ETrgLeaveDomainWithContentAndAttributes,
       
   449     CDrmRel2_1StringDict00::EDeviceId,
       
   450     CDrmRel2_1StringDict00::EDeviceIdWithContent,
       
   451     CDrmRel2_1StringDict00::EDeviceIdWithAttributes,
       
   452     CDrmRel2_1StringDict00::EDeviceIdWithContentAndAttributes,
       
   453 	0 // ok to end with zero as this is used by a global token
       
   454     }; 
       
   455 
       
   456 
       
   457 const TInt iAttributeCodePage00[] = 
       
   458 	{
       
   459     CDrmRel2_1StringDict00::EXsiType,
       
   460     CDrmRel2_1StringDict00::EXmlnsRoap,
       
   461     CDrmRel2_1StringDict00::EXmlnsXsi,
       
   462     CDrmRel2_1StringDict00::EXmlnsXenc,
       
   463     CDrmRel2_1StringDict00::EXmlnsDs,
       
   464     CDrmRel2_1StringDict00::EXmlnsOex,
       
   465     CDrmRel2_1StringDict00::EXmlnsOdd,
       
   466     CDrmRel2_1StringDict00::EXmlnsOmadd,
       
   467     CDrmRel2_1StringDict00::EVersion,
       
   468     CDrmRel2_1StringDict00::EProxy,
       
   469     CDrmRel2_1StringDict00::EId,
       
   470     CDrmRel2_1StringDict00::EId2,
       
   471     CDrmRel2_1StringDict00::ELCAlgorithm,
       
   472     CDrmRel2_1StringDict00::EHCAlgorithm,
       
   473     CDrmRel2_1StringDict00::EUri,
       
   474     CDrmRel2_1StringDict00::EType,
       
   475 	0  // ok to end with zero as this is used by a global token
       
   476     };
       
   477 
       
   478 
       
   479 
       
   480 const TInt iAttributeValueCodePage00[] = 
       
   481 	{
       
   482 	CDrmRel2_1StringDict00::EXsiTypeValue,
       
   483     CDrmRel2_1StringDict00::EXmlnsRoapValue,
       
   484     CDrmRel2_1StringDict00::EXmlnsXsiValue,
       
   485     CDrmRel2_1StringDict00::EXmlnsXencValue,
       
   486     CDrmRel2_1StringDict00::EXmlnsDsValue,
       
   487     CDrmRel2_1StringDict00::EXmlnsOexValue,
       
   488     CDrmRel2_1StringDict00::EXmlnsOddValue,
       
   489     CDrmRel2_1StringDict00::EXmlnsOmaddValue,
       
   490     CDrmRel2_1StringDict00::EVersionValue,
       
   491     CDrmRel2_1StringDict00::EProxyValue,
       
   492     CDrmRel2_1StringDict00::EIdValue,
       
   493     CDrmRel2_1StringDict00::EId2Value,
       
   494     CDrmRel2_1StringDict00::EHCAlgorithmValue,
       
   495     CDrmRel2_1StringDict00::ELCAlgorithmValue,
       
   496     CDrmRel2_1StringDict00::EUriValue,
       
   497     CDrmRel2_1StringDict00::ETypeValue,
       
   498     CDrmRel2_1StringDict00::EUrn,
       
   499     CDrmRel2_1StringDict00::EOdrlEx,
       
   500     CDrmRel2_1StringDict00::EOdrlDd,
       
   501     CDrmRel2_1StringDict00::EOmaDd,
       
   502     CDrmRel2_1StringDict00::EXmldSig,
       
   503     CDrmRel2_1StringDict00::EXmlEnc,
       
   504     CDrmRel2_1StringDict00::EXmlSchema,
       
   505     CDrmRel2_1StringDict00::ERoapX509SPKIHashValue,
       
   506     CDrmRel2_1StringDict00::EXmldSigSha1,
       
   507     CDrmRel2_1StringDict00::EXmlExcC14,
       
   508     CDrmRel2_1StringDict00::EXmldSigHmacSha1,
       
   509     CDrmRel2_1StringDict00::EVersion1,
       
   510     CDrmRel2_1StringDict00::EVersion2,
       
   511     CDrmRel2_1StringDict00::EVersion21,
       
   512     CDrmRel2_1StringDict00::EIdentificationRequest,
       
   513     CDrmRel2_1StringDict00::ERoUploadRequest,
       
   514     CDrmRel2_1StringDict00::EMeteringReport,
       
   515     CDrmRel2_1StringDict00::ELeaveDomainValue,
       
   516 	0 // ok to end with zero as this is used by a global token
       
   517     }; 
       
   518 
       
   519 
       
   520 #endif // C_DRMREL2_1STRINGDICT00_H