Posted By: El Bruno | May 23rd, 2005 @ 2:26 PM
page 1 of 1
Comments: 0 | Views: 6379
El Bruno
El Bruno
El Bruno
   
Problem with XmlSignature using WSE ()
Bruno Capuano
05/23/2005  02:09:06 PM
Hi ! My name is Bruno, i read all the article

NO-SOAP, No WebService Xml Signature with WSE and Certificates
By Peter A.  Bromberg, Ph.D.
http://www.eggheadcafe.com/articles/20030326.asp

But when I run the sample code on my local machine i have the following error

---------------------------
System.NotSupportedException: DecryptValue

   at Microsoft.Web.Services2.Security.Cryptography.RSACryptoServiceProvider.DecryptValue(Byte[] ciphertext)

   at System.Security.Cryptography.RSAPKCS1SignatureFormatter.CreateSignature(Byte[] rgbHash)

   at System.Security.Cryptography.AsymmetricSignatureFormatter.CreateSignature(HashAlgorithm hash)

   at System.Security.Cryptography.Xml.SignedXml.ComputeSignature()

   at CertificateStore.Form1.signIt() in c:\documents and settings\bca\desktop\20030326\form1.cs:line 273
---------------------------

The problem was on the line

// Compute the signature.
signedXml.ComputeSignature();

Does anybody have any idea or suggestion ???

I am using WSE 2.0 SP3, the sample was written with WSE 1.0

Thanks from Spain

El Bruno

PD: Sorry 4 my poor English.
page 1 of 1
Comments: 0 | Views: 6379
Microsoft Communities