WCF 是否+ net.tcp 支持 3DES 吗?
我目前有一个开放的 WCF 服务,运行着 netTcpBinding;但是,我需要加密这个频道。 WCF 是否支持 3DES,或者我应该只在授权的客户端/服务器上处理加密/解密?
谢谢;
I currently have an open WCF service running w/ netTcpBinding; however, I need to encrypt this channel. Does WCF support 3DES, or should I just handle the encryption/decryption on my authorized client/server?
Thanks;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信确实如此,通过消息安全。将 AlgorithmSuite 属性设置为您要使用的算法。您可以在此处查看可用的算法:
http:// msdn.microsoft.com/en-us/library/system.servicemodel.security.securityalgorithmsuite_members.aspx
支持多种 TripleDES 算法。我希望其中之一就足够了。我相信 SecurityAlgorithmSuite 类可以扩展,因此可以实现您自己的算法。但是我不确定您将如何使用它...我不确定默认配置部分是否支持第三方算法。
I believe it does, via message security. Set the algorithmSuite attribue to the algorithm you wish to use. You can view the available algorithms here:
http://msdn.microsoft.com/en-us/library/system.servicemodel.security.securityalgorithmsuite_members.aspx
There are a variety of TripleDES algorithms supported. I would hope that one of them would suffice. I believe the SecurityAlgorithmSuite class may be extended, so it might be possible to implement your own algorithm. However I am not sure how you would go about using it...I am not sure if the default configuration section supports third-party algorithms.