setDeviceKeyAuthorizedNameSpaces
fun setDeviceKeyAuthorizedNameSpaces(authorizedNameSpaces: List<String>): MobileSecurityObjectGenerator
Populates the AuthorizedNameSpaces portion of the keyAuthorizations within DeviceKeyInfo. This gives authorizations to full namespaces included in the authorizedNameSpaces array. If authorization is given for a full namespace, that namespace shall not be included in .setDeviceKeyAuthorizedDataElements.
Return
The MobileSecurityObjectGenerator.
Parameters
authorizedNameSpaces
A list of namespaces which should be given authorization.
Throws
if the authorizedNameSpaces does not meet the constraints.