By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,170 Members | 1,406 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,170 IT Pros & Developers. It's quick & easy.

Digital signing suggestions

P: n/a
Joe
I want "sign" some files with company information but not necessarily all
files will be signed.
I came up with 2 options: 1 - sign the file itself or 2 - place an encrypted
hashtable or key/value pairs in the file and try to read it.

The file will only be signed by one person and the receiving person
(application) needs to read the signature information.

Also, what sort of decompiling risks are there?

If there are any examples around that would be great!

Thanks for any input,
Joe
Mar 30 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi Joe,

Here is a link about digital signing a file.
You may have a look.
Digitally Sign a PDF or Other Files
http://www.example-code.com/csharp/csSignPdf.asp

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 31 '06 #2

P: n/a
Joe
Hi Peter,

The example in that link in based on a control. I was looking for some
actual code.

-Joe

""Peter Huang" [MSFT]" <v-******@online.microsoft.com> wrote in message
news:PW*************@TK2MSFTNGXA01.phx.gbl...
Hi Joe,

Here is a link about digital signing a file.
You may have a look.
Digitally Sign a PDF or Other Files
http://www.example-code.com/csharp/csSignPdf.asp

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Mar 31 '06 #3

P: n/a
Hi Joe,

Sorry for any confusion.
Based on research, there is no such complete source code and solution
public.
Commonly we can use the .NET code as below to generate and verify
signatures. But for a mature solution, I suggest you use commercial
software.

Generating Signatures
http://msdn2.microsoft.com/en-us/lib...7e(VS.80).aspx

Verifying Signatures
http://msdn2.microsoft.com/en-us/lib...c4(VS.80).aspx

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 3 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.