ljl 1 year ago
parent 9368d22567
commit 59c29044df

@ -513,7 +513,7 @@ class Baofu
echo json_encode($content); echo json_encode($content);
echo PHP_EOL; echo PHP_EOL;
$contentSign = SignatureUtil::sign(base64_encode(json_encode($content)), $this->getPfxFilePath(), $this->getPrivateKeyPassword()); $contentSign = Rsa::encryptedByPrivateKey(base64_encode(json_encode($content)), $this->getPfxFilePath(), $this->getPrivateKeyPassword());
$header['content'] = $contentSign; $header['content'] = $contentSign;
echo json_encode($header); echo json_encode($header);

Loading…
Cancel
Save