drm中演算法總結 (二)

來源:互聯網
上載者:User

1、ds:SignatureType
     

2、xenc:EncryptedKeyType


3、other algorithms


4、Security Mechanisms
      a、Confidentiality  ([.kɔnfi.denʃi'æliti],保密)
      此的目的是,防止資料被未授權的 client 所讀取。drm 中就是通過將 drm content 進行加密,其密碼 CEK ”is wraped with REK in rights“,而 REK 則存在於 <rights>.encKey 中。
      b、authentication  ([ɔ:.θenti'keiʃən],證明)
      此的目的是,證明此資料是發送方發送的。我猜,應該是通過 signature 實現的。signature 的 algorithm 是協商好的,default 值為 RSA-PSS,見 3。
      c、integrity  ([in'tegriti],完整)
      此的目的是,防止資料被非法改變。我猜,應該是通過 ds:SignatureType 實現的。

5、key
      KMAC、KREK、KMEK are each 128-bit long keys generated randomly by the sender。
      KD is a 128-bit long AES key generated randomly by the sender。

6、總結
      ds:SignatureType 在 drm 中出現在三個地方,兩個是保證 ingegrity,另一個tmd沒明確說幹嘛使。
      xenc:EncryptedKeyType 在drm 中出現在五個地方,其中三個是加密 REK 或 Domain Key 的,其他兩個是為相鄰的 ds:SignatureType 提供 key。
      xenc:EncryptedData 只出現在 meteringReportReq 中,用來保護 report。

7、domain
      一個 dcf 的 rights 是否屬於 domain,通過 roAcquisitionTrigger 中是否含 domainID 項來表現;
      如果是屬於某個 domain,則首先 joinDomain,從而獲得 domain key;
      之後,在 roRequest 時,設定其 domainID 項;在之後收到的 roResponse 包含"REK wraped with domainKey in AES-WRAP algorithm",所以,會拿到REK;
      拿到 REK 後,在 rights 中就可以拿到 CEK,從而解析 dcf。
      從上面看,domain 是對於 ro 而言的;只跟 roap 有關,跟 rights、dcf 無關。這是初步總結,需要看<drm> 8章後作最後結論。

8、group id

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.