想通过C++实现一个XML电子签名,希望大佬可以给推荐几个库,或者一些方法。类似下图:
想通过C++实现一个XML电子签名,希望大佬可以给推荐几个库,或者一些方法。类似下图:
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
-<Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#idPackageObject">
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>Z7cMOSAdaVQrHC0qPjfKyo6bY5U=</DigestValue>
</Reference>
-<Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#idOfficeObject">
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>935NbZYSIVqvu7WTOy5oNuqVIew=</DigestValue>
</Reference>
类似这种的