COma2AgentManager::AgentSpecificCommand( EDecryptOma1DcfBuffer, const TDesC8& aInputBuffer, TDes8& aOutputBuffer );
When the calling process doesn't have Nokia VID.
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.
|
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")
|