Questions tagged [signedxml]

The SignedXml class is the main class used for XML signing and verification (XMLDSIG) in the .NET Framework.

The SignedXml class is the main class used for XML signing and verification (XMLDSIG) in the .NET Framework. XMLDSIG is a standards-based, interoperable way to sign and verify all or part of an XML document or other data that is addressable from a Uniform Resource Identifier (URI).

The .NET Framework XMLDSIG classes implement the World Wide Web Consortium (W3C) specification for XML signing and verification located at http://www.w3.org/TR/xmldsig-core/

70 questions
0
votes
2 answers

java - how to append before in signed xml

Now i am programming with digital signature, and i have a problem when i generate the signature. I added KeyValue first, then add X509Data, but the tag just append first. I have a code for create signinfo: private KeyInfo createKeyInfo(PublicKey…
0
votes
0 answers

SignedXML.CheckSignature() problems using 3rd party signature in C#

I have a c# app which I use to process encrypted and signed xml file from a 3rd party. File I generate and sign inside the app using valid certificate pass the validation without problems. I have problems validating files received from the 3rd…
user3218782
  • 111
  • 2
  • 7
0
votes
2 answers

I can sign but am unable to verify SignedXML document in .NET 4.0 using custom SHA256 encryption

Long story short, I can sign documents just fine. But verifying them returns false, every time. I've looked through the first 5 or 6 pages of google and bing for a solution, but every "fix" I've found fails to help. Any help would be appreciated, as…
Josh Alcorn
  • 158
  • 1
  • 17
0
votes
1 answer

SignedXml checksignature returns false.

I need your help please. So I Generated Document with Xml Signature on java and when I am trying to validate in on C# i got false. Then I generated Same Document with signature on C# and It's ok. returns true. here is my generated xml in…
gogagubi
  • 965
  • 1
  • 15
  • 36
0
votes
1 answer

C# SignedXml CheckSignature throwing ArgumentNullException

I'm pretty new to .NET and I'm folliwing this MSDN guide on verifying signatures in XML Documents. I'm at step 7 where the CheckSignature method is being called on the SignedXml object. I'm getting an ArgumentNullException, but it's not being caused…
Hugo
  • 2,186
  • 8
  • 28
  • 44
0
votes
0 answers

manually perform SignedXml.CheckSignature in Compact Framework

I was looking for some implementation of SignedXml.CheckSignature for .net CF with no success. How to perform this function manually? I have XML file signed with function SignedXml.ComputeSignature on desktop machine with full .net framework. And I…
raV720
  • 564
  • 3
  • 27
0
votes
2 answers

Keyset does not exist

I have one certificate file and assign to X509Certificate2 class, cert = New X509Certificate2("mycertificate.cer") This cert only have public key that I will use to sign my xml file. And then i do this, dim doc as New…
0
votes
1 answer

SignedXml.CheckSignature Method (X509Certificate2, false) does not check certificate validity

I am trying to validate the signature as well as the certificate by passing false in the method as the second parameter - SignedXml.CheckSignature(Cert,false) However, even If the certificate used (created by makecert as given in the example below)…
Ashish Gupta
  • 14,869
  • 20
  • 75
  • 134
0
votes
1 answer

Problems with SignedXML in .NET

I am trying to sign a XML document using a Digital Signature. I have the certificate installed and the output seems to resemble the specification (EXCEPT the Namespace, which it seems is something I am not able to touch in .NET), however I am unable…
andreasnauta
  • 638
  • 7
  • 18
0
votes
1 answer

How to sign XML using private key contained in smartcard for a web application?

I was looking for a solution to sign XML using unexportable private key (this require passphrase/secret password to be informed by user input for create the hash using it) contained in usb token (smartcard etc) for a web application. I have made a…
1 2 3 4
5