Instance Method

makeSecureTokenForExpirationDateOfPersistableContentKey:completionHandler:

Creates a secure server playback context that the client sends to the key server to get an expiration date for the given persistable content key data.

Declaration

- (void)makeSecureTokenForExpirationDateOfPersistableContentKey:(NSData *)persistableContentKeyData completionHandler:(void (^)(NSData *secureTokenData, NSError *error))handler;

Parameters

persistableContentKeyData

The previously created persistable content key data.

handler

A block called after the secure token is ready.

secureTokenData

The new secure token.

error

A parameter that holds the error object that explains the error. If no error occurred, the value of this parameter is nil.

See Also

Updating Content Key Requests

- renewExpiringResponseDataForContentKeyRequest:

Tells the receiver that previously provided response data for a content key request is about to expire.

contentProtectionSessionIdentifier

The identifier for the current content protection session.