0

need help to set SHA256 for session/transit key in WCF server.

<e:EncryptedKey xmlns:e="http://www.w3.org/2001/04/xmlenc#" Id="_0">
<e:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p">
<DigestMethod xmlns="http://www.w3.org/2000/09/xmldsig#" Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>

How to get "xmlenc#sha256" DigestMethod for EncryptedKey.

I have existing service which show SHA1 need to upgrade with SHA256. Have try multiple option but SHA1 is not getting change with SHA256 for EncryptedKey. In java some one has done this but i need to implement the same in .NET WCF with configuration.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.