Re: Reverse usage of public/private RSA encryption keys for licensing?
From: William Stacey [MVP] (staceywREMOVE_at_mvps.org)
Date: 11/24/04
- Next message: Jim Adams: "Stopping a threaded .Net service"
- Previous message: Jakob Christensen: "RE: Parse date with format yyyyMMdd"
- In reply to: Morten Dahl: "Re: Reverse usage of public/private RSA encryption keys for licensing?"
- Next in thread: charismatic_evangelist_at_yahoo.com: "Reverse usage public/private RSA encryption keys licensing ... X509?"
- Reply: charismatic_evangelist_at_yahoo.com: "Reverse usage public/private RSA encryption keys licensing ... X509?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Nov 2004 12:23:02 -0500
> RSA rsa = RSA.Create(); // By default RSACryptoServiceProvider
> instead of
> RSACryptoServiceProvider rsa = new RSACryptoServiceProvider();
TMK, it is the same thing as RSA is an abstract base class and
RSACryptoServiceProvider is currently the only concret class that derives
from RSA. Some other stuff goes on in Create, but you end up with an
RSACryptoServiceProvider:
RSA rsa = RSA.Create();
Console.WriteLine("Type:"+rsa.GetType().ToString());
--Output
Type:System.Security.Cryptography.RSACryptoServiceProvider
-- William Stacey, MVP http://mvp.support.microsoft.com
- Next message: Jim Adams: "Stopping a threaded .Net service"
- Previous message: Jakob Christensen: "RE: Parse date with format yyyyMMdd"
- In reply to: Morten Dahl: "Re: Reverse usage of public/private RSA encryption keys for licensing?"
- Next in thread: charismatic_evangelist_at_yahoo.com: "Reverse usage public/private RSA encryption keys licensing ... X509?"
- Reply: charismatic_evangelist_at_yahoo.com: "Reverse usage public/private RSA encryption keys licensing ... X509?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|