Questions about FairPlay(kTestAppCert, content key)

Hi,


I have three questions about FairPlay.


1. In FairPlayStreaming_PG.pdf on page 27, the document says that

"In the code sample shown in the iOS FPS Client sample (included in the SDK),

kTestAppCert contains the Application Certificate.".

So I searched kTestAppCert, but kTestAppCert did not show up in the iOS FPS Client sample.

Where does kTestAppCert appears and what is it?


2. In FairPlayStreaming_PG.pdf page 26, the document says that

"Do not hard-code the Application Certificate in the playback application".

I would like to know a prefered way to store the Application Certificate.


3. In SKDServer.c, line 1487, there is a 16 bit length key.

If my understanding is correct, this is a content key and must be set a vaild key at this time.

Is my understanding correct?


Any advice and suggestions will be greatly appreciated.


Thank you.

I figured out that SKDServer.c, line 1487, is actually encryption key for CKC message, so question no.3 was wrong.

Content key and IV are set SKDServerFetchContentKeyAndIV, and this function must be implemented by developer.


If this is still wrong, please let me know.


Thank you.

Hi @VM_Watanabe, did you ever figure out the answer to question 1? Where does kTestAppCert appears and what is it?

Questions about FairPlay(kTestAppCert, content key)
 
 
Q