setDeviceKeyAuthorizedDataElements
fun setDeviceKeyAuthorizedDataElements(authorizedDataElements: Map<String, List<String>>): MobileSecurityObjectGenerator
Populates the AuthorizedDataElements
portion of the keyAuthorizations
within DeviceKeyInfo
. This gives authorizations to data elements included in the authorizedDataElements
mapping. If a namespace is included here, then it should not be included in .setDeviceKeyAuthorizedNameSpaces
Return
The MobileSecurityObjectGenerator
.
Parameters
authorizedDataElements
A mapping from namespaces to a list of DataElementIdentifier
Throws
if authorizedDataElements does not meet the constraints.