Contents

serverChallenge

Specifies a nonce to include in the secure server playback context (SPC) to prevent replay attacks.

Declaration

static let serverChallenge: AVContentKeySessionServerPlaybackContextOption

Discussion

Specify this value as an 8-byte NSData object. If you don’t specify a value for this key, the system assumes a default server challenge of 0.

See Also

Server playback context options