oma2agent.h File Reference

API published in: S60 3rd Ed

Capability Information

Required Capabilities

None

Exceptions

The capability DRM is required in:

COma2AgentManager::AgentSpecificCommand( EDecryptOma1DcfBuffer, const TDesC8& aInputBuffer, TDes8& aOutputBuffer ); When the calling process doesn't have Nokia VID.

Other Information

OMA DRM CAF Agent API is not a real API (it doesn't have any functions), it only declares enumerations and constants that can be given to CAF in order to invoke OMA DRM related operations.


#include <caf/caftypes.h>

Go to the source code of this file.


Namespaces

namespace   ContentAccess

Enumerations

enum   TKeyTransportScheme {
  EOma, ECmlaIp1, ECmlaIp2, ECmlaIp3,
  ECmlaIp4, ECmlaIp5, ECmlaIp6, ECmlaIp7
}
enum   ContentAccess::TOma2AgentAttribute {
  ContentAccess::EFileType = EAgentSpecificAttributeBase + 1, ContentAccess::EPreviewType, ContentAccess::ESilentRightsType, ContentAccess::EDeliveryMethod,
  ContentAccess::ERecordingYear
}
enum   ContentAccess::TOma2AgentStringAttribute {
  ContentAccess::EInstantPreviewUri = EAgentSpecificAttributeBase + 1, ContentAccess::EPreviewRightsUri, ContentAccess::ERightsIssuerUrl, ContentAccess::ESilentRightsUrl,
  ContentAccess::ETransactionTrackingId, ContentAccess::EEmbeddedRightsObject, ContentAccess::EGroupId, ContentAccess::EDomainRightsIssuerUrl,
  ContentAccess::EDomainId, ContentAccess::EDomainRightsIssuerId, ContentAccess::EContentVendor, ContentAccess::ECopyright,
  ContentAccess::EContentName, ContentAccess::EOmaDrmContentLocation, ContentAccess::EOmaDrmContentVersion, ContentAccess::EPerformer,
  ContentAccess::EGenre, ContentAccess::ERatingInfo, ContentAccess::EClassificationInfo, ContentAccess::EKeyword,
  ContentAccess::ELocInfoName, ContentAccess::ELocInfoAstronomicalBody, ContentAccess::ELocInfoAdditionalNotes, ContentAccess::EAlbumTitle,
  ContentAccess::EAlbumTrack, ContentAccess::ECoverUri, ContentAccess::ELyricsUrl, ContentAccess::EFileName
}
enum   { ContentAccess::ENoDcf = 0, ContentAccess::EOma1Dcf = 1, ContentAccess::EOma2Dcf = 2 }
enum   ContentAccess::TOmaDrmDeliveryMethod {
  ContentAccess::EOmaDrm1LocalDataFile, ContentAccess::EOmaDrm1ForwardLock, ContentAccess::EOmaDrm1ForwardLockDcf, ContentAccess::EOmaDrm1CombinedDelivery,
  ContentAccess::EOmaDrm1CombinedDeliveryDcf, ContentAccess::EOmaDrm1SeparateDelivery, ContentAccess::EOmaDrm2
}
enum   ContentAccess::TEncryptionMethod { ContentAccess::EMethodNULL = 0x00, ContentAccess::EMethodAES_128_CBC = 0x01, ContentAccess::EMethodAES_128_CTR = 0x02 }
enum   ContentAccess::TEncryptionPadding { ContentAccess::EPaddingNone = 0x00, ContentAccess::EPaddingRFC_2630 = 0x01 }
enum   ContentAccess::TSilentRefresh { ContentAccess::ENoSilentRefresh = 0x00, ContentAccess::EOnDemand = 0x01, ContentAccess::EInAdvance = 0x02 }
enum   ContentAccess::TPreview { ContentAccess::ENoPreview = 0x00, ContentAccess::EInstantPreview = 0x01, ContentAccess::EPreviewRights = 0x02 }
enum   { ContentAccess::EOma1Rights = 1, ContentAccess::EOma2Rights = 2, ContentAccess::ECmlaRights = 3 }
enum   {
  ContentAccess::EEmbedDomainRo, ContentAccess::EOmaDrmMethods, ContentAccess::ESetPendingRightsETA, ContentAccess::EBufferContainsOma1Dcf,
  ContentAccess::EDecryptOma1DcfBuffer, ContentAccess::ESetContentName
}

Functions

  _LIT (KOmaDrm2AgentName,"OMA DRM Agent")
  _LIT8 (KOma1DrmMessageContentType,"application/vnd.oma.drm.message")
  _LIT8 (KOma1XmlRoContentType,"application/vnd.oma.drm.rights+xml")
  _LIT8 (KOma1WbxmlRoContentType,"application/vnd.oma.drm.rights+wbxml")
  _LIT8 (KOma2RoContentType,"application/vnd.oma.drm.roap-pdu+xml")
  _LIT8 (KOma2ProtectedRoType,"application/vnd.oma.drm.ro+xml")
  _LIT8 (KOma2TriggerContentType,"application/vnd.oma.drm.roap-trigger+xml")
  _LIT8 (KOma1DcfContentType,"application/vnd.oma.drm.content")
  _LIT8 (KOma2DcfContentType,"application/vnd.oma.drm.dcf")
  _LIT8 (KOmaImportContentType,"application/x-vnd.oma.drm.import")
  _LIT8 (KOmaImportMimeTypeField,"Content-type")
  _LIT8 (KOmaImportRightsField,"Rights")
  _LIT8 (KOma2DcfRoBoxId,"cid:[email protected]")
  _LIT8 (KOma2DcfTransactionBoxId,"cid:[email protected]")
  _LIT8 (KOma2DcfBranding,"\000\000\000\024ftypodcf\000\000\000\002odcf")
  _LIT8 (KCafMimeType,"application/x-caf")
  _LIT (KOma1DcfExtension,".dcf")
  _LIT (KOma2DcfExtension,".odf")

Enumeration Type Documentation

enum TKeyTransportScheme
 
Enumerator:
EOma 
ECmlaIp1 
ECmlaIp2 
ECmlaIp3 
ECmlaIp4 
ECmlaIp5 
ECmlaIp6 
ECmlaIp7 

Function Documentation

_LIT KOma2DcfExtension  ,
".odf" 
 
_LIT KOma1DcfExtension  ,
".dcf" 
 
_LIT KOmaDrm2AgentName  ,
"OMA DRM Agent" 
 
_LIT8 KCafMimeType  ,
"application/x-caf" 
 
_LIT8 KOma2DcfBranding  ,
"\000\000\000\024ftypodcf\000\000\000\002odcf" 
 
_LIT8 KOma2DcfTransactionBoxId  ,
"cid:[email protected]
 
_LIT8 KOma2DcfRoBoxId  ,
"cid:[email protected]
 
_LIT8 KOmaImportRightsField  ,
"Rights" 
 
_LIT8 KOmaImportMimeTypeField  ,
"Content-type
 
_LIT8 KOmaImportContentType  ,
"application/x-vnd.oma.drm.import" 
 
_LIT8 KOma2DcfContentType  ,
"application/vnd.oma.drm.dcf" 
 
_LIT8 KOma1DcfContentType  ,
"application/vnd.oma.drm.content" 
 
_LIT8 KOma2TriggerContentType  ,
"application/vnd.oma.drm.roap-trigger+xml" 
 
_LIT8 KOma2ProtectedRoType  ,
"application/vnd.oma.drm.ro+xml" 
 
_LIT8 KOma2RoContentType  ,
"application/vnd.oma.drm.roap-pdu+xml" 
 
_LIT8 KOma1WbxmlRoContentType  ,
"application/vnd.oma.drm.rights+wbxml" 
 
_LIT8 KOma1XmlRoContentType  ,
"application/vnd.oma.drm.rights+xml" 
 
_LIT8 KOma1DrmMessageContentType  ,
"application/vnd.oma.drm.message" 
 

Copyright © Nokia Corporation 2001-2008
Back to top