E
Eli Kremer
I get an error "CryptoAPI cryptographic service provider
(CSP) for this implementation could not be acquired"
I used MachineKey store and DefaultKeyStore in order to
define a key container:
const int PROVIDER_RSA_FULL = 1;
const string CONTAINER_NAME = "SpiderContainer";
CspParameters cspParams;
cspParams = new CspParameters(PROVIDER_RSA_FULL);
cspParams.KeyContainerName = CONTAINER_NAME;
cspParams.Flags =
CspProviderFlags.UseDefaultKeyContainer;//UseMachineKeySto
re
cspParams.ProviderName = "Microsoft Strong
Cryptographic Provider";
rsa = new RSACryptoServiceProvider(cspParams);
This code fails in last row. Before some time this code
worked perfectly! I didn't perform any changes, but it
stopped working!I think there could be problems with
security srights to Machinekeystore. Thank to everybody
who can help me.
(CSP) for this implementation could not be acquired"
I used MachineKey store and DefaultKeyStore in order to
define a key container:
const int PROVIDER_RSA_FULL = 1;
const string CONTAINER_NAME = "SpiderContainer";
CspParameters cspParams;
cspParams = new CspParameters(PROVIDER_RSA_FULL);
cspParams.KeyContainerName = CONTAINER_NAME;
cspParams.Flags =
CspProviderFlags.UseDefaultKeyContainer;//UseMachineKeySto
re
cspParams.ProviderName = "Microsoft Strong
Cryptographic Provider";
rsa = new RSACryptoServiceProvider(cspParams);
This code fails in last row. Before some time this code
worked perfectly! I didn't perform any changes, but it
stopped working!I think there could be problems with
security srights to Machinekeystore. Thank to everybody
who can help me.