【发布时间】:2018-10-29 13:17:41
【问题描述】:
我按照以下方式签署 XML: 签名算法:http://www.w3.org/2001/04/xmldsig-more#rsa-sha512摘要算法:http://www.w3.org/2001/04/xmlenc#sha512规范化算法:http://www.w3.org/2001/10/xml-exc-c14n#
但我未能在 WCF 中找到对 SHA512 的支持。有解决办法吗?
下面是我的代码:
<customBinding>
<binding name="McBinding">
<textMessageEncoding messageVersion="Soap11" />
<security authenticationMode="MutualCertificate" includeTimestamp="false" defaultAlgorithmSuite="??"
messageSecurityVersion="WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10">
<secureConversationBootstrap />
</security>
<httpsTransport />
</binding>
【问题讨论】: