Hi,
hab mal eine Frage.
Ich m�chte in einer ASP.NET Appl. eine Art "Private Message Service"
einf�hren.
Zur Daten Ver- und Entschl�sselung m�chte ich eine Public Key Infr.
(PKI) verwenden.
Das .NET Framework implementiert das ganze im RSACryptoServiceProvider()
Hab eine kleine WinApp als testApp. geschrieben, wo alles wunderbar
funktioniert,
nur bei ASP.NET Appl. bekomme ich die Fehlermeldung:
**************************************************************
CryptoAPI cryptographic service provider (CSP) for this implementation
could not be acquired.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Security.Cryptography.CryptographicException:
CryptoAPI cryptographic service provider (CSP) for this implementation
could not be acquired.
Source Error:
Line 20: public string GenerateKeyPair()
Line 21: {
Line 22: RSACryptoServiceProvider RSA = new
RSACryptoServiceProvider();
**************************************************************
Hat vielleicht jemand eine Ahnung welche Code Access permissions meine
Web-App ben�tigt, damit das l�uft
Und vor allem wie man diese einer Web-App zuweist ??
Danke im voraus
Klaus
| [aspdedotnet] als [email protected] subscribed
| http://www.dotnetgerman.com/archiv/aspdedotnet/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.dotnetgerman.com/listen/aspDEdotnet.asp