Lines Matching refs:policy_data
739 policy_data = dm.PolicyData()
740 policy_data.policy_type = msg.policy_type
741 policy_data.timestamp = int(time.time() * 1000)
742 policy_data.request_token = token_info['device_token']
743 policy_data.policy_value = payload
744 policy_data.machine_name = token_info['machine_name']
745 policy_data.valid_serial_number_missing = (
747 policy_data.settings_entity_id = msg.settings_entity_id
748 policy_data.service_account_identity = policy.get(
753 policy_data.invalidation_source = invalidation_source
758 policy_data.invalidation_name = invalidation_name.encode('ascii')
761 policy_data.public_key_version = current_key_index + 1
764 policy_data.username = username
770 policy_data.username = policy.get('policy_user', 'user@example.com')
771 policy_data.device_id = token_info['device_id']
772 signed_data = policy_data.SerializeToString()
774 response.policy_data = signed_data
786 signing_key['signatures'], policy_data.username)