Dear Aleksey<br><br>I computed the signature value with OpenSSL, while the result doesn't match with xmlsec<br>I checked the message actually signed when xmlsec perform signature with --store-signatures, it's no problem.<br>

<br>What I did with OpenSSL<br>RSA_sign(NID_sha1, digest of signinfo node, length of the digest, signature value buff, length of signature, rsa key);<br>(and it can be verified with RSA_verify() too)<br>
<br>And I tried to trace the source code of xmlsec, I didn't find any RSA_sign() used, but I found a lot of RSA_public_encrypt() instead.<br>I'm wondering if there's something I missed?<br><br>Thank you<br>