IAD bundle encryption¶
You can specify a custom RSA public key to be used for encrypting the IAD bundle.
let key = Data(...) // Data containing key in DER format
let iadBundle = try controller.createIADBundle(key: key)
You have also option to set the keyId
let yourKey = Data(...) // Data containing key in DER format
let yourKeyId = {YOUR_KEYID_HERE} // Value as String
let iadBundle = try controller.createIADBundle(key: yourKey, keyId: yourKeyId)