Subject: SignatureDescription could not be created for the signature algorithm supplied
Date: 2016-08-10 11:09:39
From: Harshitha K
Source: signaturedescription-not-created-signature-algorithm-supplied
----------------------------------------------------------------------

Hi,

 

I am facing an issue while signing the assertions. I receive error "SignatureDescription could not be created for the signature algorithm supplied". On signing the assertions, i pass "http://www.w3.org/2001/04/xmlenc#sha256" digest method and "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"  signing method. Following is the line of code that throws error:

 samlAssr.Sign(x509Certificate, "http://www.w3.org/2001/04/xmlenc#sha256", "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256");

Does component pro provide support for the above digest and signing methods? As per my investigation, the support is in built in .NET framework 4.0 and above. I use componentPro.saml.dll which is built on .Net Framework 4.0 and above. I am not sure what is the issue.

 

Can anyone help?

---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index