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:
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?
ashish.rajba...
0 Points
4 Posts
implementing AES 256 encryption for a WCF service with a timestamp value
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.
WCF
Steven Cheng...
Contributor
4219 Points
548 Posts
Microsoft
Moderator
Re: implementing AES 256 encryption for a WCF service with a timestamp value
Apr 03, 2012 04:19 AM|LINK
Hi ashish.rajba,
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:
#AesCryptoServiceProvider Class
http://msdn.microsoft.com/en-us/library/system.security.cryptography.aescryptoserviceprovider.aspx
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
http://msdn.microsoft.com/en-us/library/ff183867.aspx
#Message Inspectors
http://msdn.microsoft.com/en-us/library/aa717047.aspx
Feedback to us
Microsoft One Code Framework
ashish.rajba...
0 Points
4 Posts
Re: implementing AES 256 encryption for a WCF service with a timestamp value
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?