code: def create_name_id_mapping_response(self, name_id=None, encrypted_id=None,
                                          in_response_to=None,
                                          issuer=None, sign_response=False,
                                          status=None, sign_alg=None,
                                          digest_alg=None, **kwargs):
          
          # Done over SOAP
  
          ms_args = self.message_args()
  
          _resp = NameIDMappingResponse(name_id, encrypted_id,
                                        in_response_to=in_response_to, **ms_args)
  
          if sign_response:
              return self.sign(_resp, sign_alg=sign_alg, digest_alg=digest_alg)
          else:
              logger.info("Message: %s", _resp)
              return _resp
docs: protocol for mapping a principal's name identifier into a
          different name identifier for the same principal.
          Done over soap.
  
          :param name_id:
          :param encrypted_id:
          :param in_response_to:
          :param issuer:
          :param sign_response:
          :param status:
          :return: