简体   繁体   English

WCF消息安全性中使用的加密类型

[英]type of encryption is used in WCF message security

What type of encryption is used in Message Security? 邮件安全性中使用哪种加密类型? How is the message encrypted? 消息如何加密?

I am using certificate credential type. 我正在使用证书凭证类型。

MSDN doc says message security encrypts and signs the message. MSDN Doc说消息安全性对消息进行加密和签名。

Is the certificate only used for authentication or is it used for encrypting and signing of message as well? 证书仅用于身份验证还是用于消息的加密和签名?

How secure is the encryption? 加密的安全性如何?

Message security uses the WS-Security specification to secure messages. 消息安全性使用WS-Security规范来保护消息。 The specification describes enhancements to Simple Object Access Protocol (SOAP) messaging to ensure confidentiality, integrity, and authentication at the SOAP message level (instead of the transport level). 该规范描述了对简单对象访问协议(SOAP)消息传递的增强,以确保SOAP消息级别(而不是传输级别)的机密性,完整性和身份验证。 You can configure the message security to avoid service credential negotiation if you want to restrict clients from accessing your service. 如果要限制客户端访问服务,可以配置消息安全性以避免服务凭证协商。 This is especially important when you are in partner scenario where your service is exposed to a number of clients. 当您处于合作伙伴方案中,其中服务暴露给许多客户时,这一点尤其重要。 When you configure message security to not negotiate credentials, you have to make sure that the service credentials are available out-of-band to the client application. 当您配置消息安全性以不协商凭据时,必须确保服务凭据可用于客户端应用程序带外。 Message security is available on all of the bindings except for netNamedPipeBinding and MSmqIntegrationBinding http://msdn.microsoft.com/en-us/library/ff648863.aspx this link to know more about encryption of message. 除netNamedPipeBinding和MSmqIntegrationBinding http://msdn.microsoft.com/zh-cn/library/ff648863.aspx之外的所有绑定都可以使用消息安全性,此链接可了解有关消息加密的更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM