RSA signing data

  • Thread starter Thread starter Peter Morris [Capable Objects]
  • Start date Start date
P

Peter Morris [Capable Objects]

Hi all

I need to sign some data to ensure it has not been tampered with. I'm
pretty sure I will be able to work out how to do what I want by searching
for RSACryptoServiceProvider on Google, but what I can't see is how to get
my app to generate a key pair at runtime. Can anyone give me a hint as to
what to search for?


Thanks


Pete
 
see ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/dv_vssoln/html/64173505-8bfb-41cf-a0de-b9075173f3a2.htm
and
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/dv_fxfund/html/05026813-f3bd-4d7c-9e0b-fc588eb3d114.htm
 
Peter,

The documentation for the RSACryptoServiceProvider has an example that
you can use:

http://msdn2.microsoft.com/en-us/library/system.security.cryptography.rsacryptoserviceprovider.aspx

Additionally, it has some additional links showing how to use the class.

The sample generates the key itself with a call to ExportParameters on
the RSA class.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

"Peter Morris [Capable Objects]" <firstname + '.' +
(e-mail address removed)> wrote in message
news:[email protected]...
 
Do you have those as web URLs? I only use online help so I don't have the
local help installed.


Thanks

Pete




see
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/dv_vssoln/html/64173505-8bfb-41cf-a0de-b9075173f3a2.htm
and
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/dv_fxfund/html/05026813-f3bd-4d7c-9e0b-fc588eb3d114.htm
 
Thanks for the URLs but that isn't what I need to do. I need to create a
signed hash of my own binary file, and also generate a key pair at runtime
:-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top