开发者

How can i enable WCF Data-Encryption

开发者 https://www.devze.com 2023-02-28 02:01 出处:网络
How can I enable the encryption of an WCF (Windows Communication Foundation) Service with VB.NET? Is it enough to add a certificate to a servi开发者_如何转开发ce an set <security mode=\"\"> to

How can I enable the encryption of an WCF (Windows Communication Foundation) Service with VB.NET?

Is it enough to add a certificate to a servi开发者_如何转开发ce an set <security mode=""> to "TransportWithMessageCredential"? Or is there any other settings needed?

If this is enough:

What's with the client? Maybe I'm wrong but I thought the client and the server need a certificate?!

The client can encrypt messages with the server public key. But how does the server encrypt messages to the client? Or does the client generate an symmetric encryptionkey and send it to the server?


It depends what type of end point you are using. If you are using an HTTP/HTTPS endpoint, simply having a server certificate is sufficient.

0

精彩评论

暂无评论...
验证码 换一张
取 消