Subject: Error signing artifactResolve
Date: 2014-07-07 11:19:34
From: Rune Stender
Source: error-signing-artifactresolve
----------------------------------------------------------------------

I create an artifactResolve item and try to sign the item

var artifactResolve = new ArtifactResolve();
artifactResolve.Issuer = Util.GetIssuer();
artifactResolve.Artifact = new Artifact(httpArtifact.ToString());
var cert = Util.GetCertificate(Global.SpCertKey);
artifactResolve.Sign(cert);

But on .Sign() i throws a "Unable to generate XML signature." exception with inner exception "Malformed reference element."

Can someone help with resolve this issue??

The certifact is also used in authenRequest.Redirect with no errors.

Best Regards
Rune

 

---------------------------------------------------------------------- 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