I'm developing an Offline Rental Support. But I don't know that how to use 'makeSecureTokenForExpirationDateOfPersistableContentKey'.
My step.
KSM part.
1. Create the KSM. --> done
2. Create the Offline Key TLLV. --> done
3. Delete the Content key duration TLLV from CKC response. --> done
App part.
1. Modify the HLSCatalogWithFPS and use AVContentKeySession.
In order to use Offline Rental Support. An app can obtain a Sync SPC via the method [AVContentKeySession makeSecureTokenForExpirationDateOfPersistableContentKey:completionHandler:].
I don't know to use this method.
While I still don't use the makeSecureTokenForExpirationDate, I got the result of Sync TLLV as following image. enter image description here
Please advise me for using 'makeSecureTokenForExpirationDateOfPersistableContentKey' or step for implementation of Offline Rental (Sync TLLV).