code: def generate(self, encrypt, signature, timestamp, nonce):
          
          resp_dict = {
              'msg_encrypt': encrypt,
              'msg_signaturet': signature,
              'timestamp': timestamp,
              'nonce': nonce,
              }
          resp_xml = self.AES_TEXT_RESPONSE_TEMPLATE % resp_dict
          return resp_xml
docs: 生成xml消息
          @param encrypt: 加密后的消息密文
          @param signature: 安全签名
          @param timestamp: 时间戳
          @param nonce: 随机字符串
          @return: 生成的xml字符串