Jaime
Jaime

Reputation: 1192

WCF Service with basicHttpBinding and message security with algorithmSuite=Basic128Sha256Rsa15

I'm finding it very difficult to find an example on message level security for a WCF service. Specifically looking for an example on how to do message level security with basicHttpBinding and one of the following algoirthms: Basic128, Basic128Sha256, or BasicSha256Rsa15.

I have played a little in Visual Studio, but I missing a few things. I'm expecting to be able to setup the Web.Config so that th Wsdl states what security algorithms are required once published. Am I thinking about this wrong? Also how do I load the keys used on each end of the exchange.

I really just need a simple example.

Thanks!

Upvotes: 0

Views: 4928

Answers (3)

user1749782
user1749782

Reputation: 27

http://msdn.microsoft.com/en-us/library/ff648863.aspx Check this link . It says basicHttpBinding support the Message level.

Upvotes: 0

m4tt1mus
m4tt1mus

Reputation: 1641

basicHttpBinding doesn't support message level security for solutions below .NET 3.0.

Upvotes: 1

BitMask777
BitMask777

Reputation: 2733

basicHttpBinding supports message level security via the message element. SecurityAlgorithmSuite provides a variety of algorithms for use in this context. There is a reasonably good example available here in the MS docs.

Upvotes: 2

Related Questions