public function decryptXml($xml, $messageSignature, $timestamp, $nonce)
{
$errorCode = $this->getMessageCrypt()->decryptMsg($messageSignature, $timestamp, $nonce, $xml, $xml);
if ($errorCode) {
$this->lastError = ['errcode' => $errorCode, 'errmsg' => 'XML数据解密失败!'];
return false;
}
return $xml;
}