473,473 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Signing XML documents

I am working to develop and application which will
generate XML files. I would like to sign these documents
at the time of creation to allow someone to verify them at
a later date. What would be the best way to sign an XML
document using ASP.NET. I have considered using the
SIGNTOOL.EXE from Microsoft and simply use VBSCRIPT to use
the command. Is there an simple and easy method from
ASP.NET to apply a digital signature to the XML files. We
plan to use an SSL certificate to sign the documents.

Thanks!
Nov 11 '05 #1
3 2692
Have you taken a look at the classes in the System.Security.Cryptography.Xml
namespace?

--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Todd Richardson" <To****@dmme.com> wrote in message
news:79****************************@phx.gbl...
I am working to develop and application which will
generate XML files. I would like to sign these documents
at the time of creation to allow someone to verify them at
a later date. What would be the best way to sign an XML
document using ASP.NET. I have considered using the
SIGNTOOL.EXE from Microsoft and simply use VBSCRIPT to use
the command. Is there an simple and easy method from
ASP.NET to apply a digital signature to the XML files. We
plan to use an SSL certificate to sign the documents.

Thanks!

Nov 11 '05 #2
I have seen it, but I could not find any code samples of
how to implement it.

Todd
-----Original Message-----
Have you taken a look at the classes in the System.Security.Cryptography.Xmlnamespace?

--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Todd Richardson" <To****@dmme.com> wrote in message
news:79****************************@phx.gbl...
I am working to develop and application which will
generate XML files. I would like to sign these documents at the time of creation to allow someone to verify them at a later date. What would be the best way to sign an XML
document using ASP.NET. I have considered using the
SIGNTOOL.EXE from Microsoft and simply use VBSCRIPT to use the command. Is there an simple and easy method from
ASP.NET to apply a digital signature to the XML files. We plan to use an SSL certificate to sign the documents.

Thanks!

.

Nov 11 '05 #3
You may try to find some sample code from this link:

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemSecurityCryptographyXml.asp

For exmaple, from the signedXML method.

Luke

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 11 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ben S | last post by:
Hi, I currently have an ASP.NET application that behaves differently on different versions of Windows 2003 (Web Edition and Standard Edition). The application looks up the certificate store to...
1
by: Martin | last post by:
I have a couple of questions around code signing with MS technology: 1. Is there a way to transfer the generated strong name signing private key directly to a smartcard (or generate it on the...
4
by: Todd Richardson | last post by:
Two questions. We would like to have users complete ASP.NET web forms for submission. Once these are completed I would like to generate an XML document from the form. The XML document should...
5
by: polarz | last post by:
I'm having problems signing my assembly. When I try to compile my code I get an error: The keyset is not defined. Here is the code from my AssemblyInfo.cs
5
by: Nak | last post by:
Hi there, I have been taking a look at a microsoft example for enveloping XML files. What I would like to use an "enveloped XML" file for is a custom license file. I am just slightly confused...
0
by: Mart | last post by:
Hi, I have just written (my first) VB.net app using MS Visual Basic 2005 Express Edition Beta. It is fairly simple, it reads some configuration data from an XML file then opens a new window...
0
by: Raffi Basmajian | last post by:
I am trying to understand the difference between signing ClickOnce manifests and signing shared assemblies. My company is building .Net 2005 WinForm applications for internal company use only....
6
by: raylopez99 | last post by:
Anybody use Strong Name Signing? I think this is used by default for Resource files, which is one reason perhaps I can't get my resource files to work (somehow the public key is messed up, perhaps...
0
by: Roger Upole | last post by:
William Heath wrote: If the signer is not specified, it should auto-select the appropriate certificate. Do you have a code signing certificate installed in the current user's certificate store...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.