我有以下XML并且需要生成签名而不是标记“{$ SIGNATURE}”,签名应该是“content”标记内容的RSA-SHA1。
<sig digestMethod="SHA1" sigMethod="RSA-SHA1" thumbprint="XXXXXX">
{$SIGNATURE}
</sig>
<content>
<app-id>yxz123</app-id>
<hmac>HMACSHA256</hmac>
<signing-time>${=new java.text.Simpl${HTTP Request#ResponseAsXml}eDateFormat("yyyy-MM-dd'T'HH:mm:ss").format(new Date())}
</signing-time>
</content>