蓝天白云─=≡Σ(((つ•̀ω•́)つ 2021-04-08 15:47 采纳率: 0%
浏览 101
已结题

想使用C++写一个XML文件,这个xml格式和openxml格式类似

想通过C++实现一个XML电子签名,希望大佬可以给推荐几个库,或者一些方法。类似下图:

 

  • 写回答

2条回答 默认 最新

  • 关注

     

    <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>

    类似这种的

    评论

报告相同问题?