Re: Reverse usage of public/private RSA encryption keys for licensing?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: William Stacey [MVP] (staceywREMOVE_at_mvps.org)
Date: 11/24/04


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


Relevant Pages

  • Re: Reverse usage of public/private RSA encryption keys for licensing?
    ... it is the same thing as RSA is an abstract base class and ... RSACryptoServiceProvider is currently the only concret class that derives ... from RSA. ...
    (microsoft.public.dotnet.security)
  • Reverse usage public/private RSA encryption keys licensing ... X509?
    ... and Morten Dahl for: RSA rsa = RSA.Create; ... marketeers can brag about our using it and make our software more ... > RSACryptoServiceProvider is currently the only concret class that derives ...
    (microsoft.public.dotnet.framework)
  • Reverse usage public/private RSA encryption keys licensing ... X509?
    ... and Morten Dahl for: RSA rsa = RSA.Create; ... marketeers can brag about our using it and make our software more ... > RSACryptoServiceProvider is currently the only concret class that derives ...
    (microsoft.public.dotnet.security)
  • private Key aus P12 Datei
    ... public string Sign(string TextToSign, string PrivateKey) ... RSACryptoServiceProvider rsaCryptoServiceProvider = new ... RSA RSA = RSA.Create; ... ASCIIEncoding Encoding = new ASCIIEncoding; ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • RE: Implementing RSACryptoServiceProvider *and* JavaScript
    ... One of the things I discovered is the 'standard' RSA algorithms, ... I've more-or-less come to the conclusion that the RSACryptoServiceProvider ... >> passwords and other sensitive information is passed from the client back to ... >> a JavaScript RSA implementation that works with the RSACryptoServiceProvider. ...
    (microsoft.public.dotnet.framework.aspnet.security)