Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 03, 2012 03:26 PM by ashish.rajbanshi
Mar 29, 2012 10:18 PM|LINK
How can I create AES 256 encryption with a timestamp value for a WCF service implemented in .Net 3.5? Any help is greatly appreciated.
Apr 03, 2012 04:19 AM|LINK
As for the AES encryption for a WCF timestamp, are you going to encrypt a custom header in the SOAP message or want to implement certain ws-* standard ones?
For general AES encryption, you can find the related .NET crypto provider under System.Security.Cryptography namespace:
Also, if you want to do customization on the underlying SOAP message generated by WCF runtime, you can have a look at the existing extension points provided by WCF. And the MessageInspector is one that is commonly used for performing some message level inspecting
and customizing over the underlying soap messages:
#Extending WCF’s Client and Dispatcher Runtimes
Apr 03, 2012 03:26 PM|LINK
Thanks for the reply Steven. This service is for consumption by the iphone. So, I don't think using ws-security is an option here. Can we use WCF's AES 256 encryption algorithm over basic security? How is that different from AesCryptoServiceProvider?