IDrmService.idl
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef IDRMSERVICE_IDL
00012 #define IDRMSERVICE_IDL
00013
00014 #include "IToiDrmService.idl"
00015 #include "IToiMediaSession.idl"
00016 #include "TToiPermissionDeniedException.idl"
00017
00023 interface IDrmService : IToiDrmService
00024 {
00025 typedef sequence<octet> TCci;
00026 typedef sequence<octet> binary;
00027
00028 void CreateCciSupplierId(out long cciSupplierId);
00029
00030 void NewCci(in long cciSupplierId, in long mediaSessionId,
00031 in TCci cci, in long cciLength)
00032 raises (TToiInvalidArgumentException);
00033
00034 void SetBypassCci(in TCci cci, in long cciLength)
00035 raises (TToiInvalidArgumentException,
00036 TToiPermissionDeniedException);
00037
00038 void SetDefaultCci()
00039 raises (TToiInvalidArgumentException);
00040
00055 void AssetCopied(in string originalAssetUrl,
00056 in string copyAssetUrl)
00057 raises (TToiInvalidArgumentException,
00058 TToiPermissionDeniedException);
00059
00060
00061 };
00062
00063 #endif