Giter Club home page Giter Club logo

fairplay-ksm's Introduction

fairplay-ksm Build Status

Apple FairPlay KSM (Key Security Module) module Java based implementation as per FairPlay Streaming Programming Guide.

Implements full KSM functionality:

  1. Receive an SPC message from an app running on an Apple app/device and parse it.
  2. Check the SPC's certificate hash value against the AC.
  3. Decrypt the SPC payload.
  4. Verify that the Apple app/device is using a supported version of FPS software.
  5. Decrypt the session key and random value block in the SPC payload.
  6. Check the integrity of the SPC message.
  7. Encrypt the content key.
  8. Assemble the contents of the CKC payload.
  9. Encrypt the CKC payload.
  10. Construct the CKC message and send it to the app on the Apple device.
  11. Renting and leasing [In progress]
  12. Offline playback [In progress]
  13. Error codes [In progress]

FAQ

  1. Can the development credentials in the FairPlay Streaming Server SDK be used for streaming protected content using FPS secure key delivery?

    https://developer.apple.com/library/content/qa/qa1967/_index.html#//apple_ref/doc/uid/DTS40017673

  2. How to debug FairPlay Streaming?

    https://developer.apple.com/library/content/technotes/tn2454/_index.html

fairplay-ksm's People

Contributors

andreyrikunov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.