5 references to CryptAcquireContext
System.Security (5)
system\security\cryptography\cryptoapi.cs (1)
2537
return
CryptAcquireContext
(ref hCryptProv,
system\security\cryptography\pkcs\pkcsutils.cs (4)
744
if (!CAPI.
CryptAcquireContext
(ref safeCryptProvHandle,
859
if (CAPI.
CryptAcquireContext
(ref provHandle, parameters.KeyContainerName, CAPI.MS_ENHANCED_PROV, CAPI.PROV_RSA_FULL, 0) ||
860
CAPI.
CryptAcquireContext
(ref provHandle, parameters.KeyContainerName, CAPI.MS_STRONG_PROV, CAPI.PROV_RSA_FULL, 0))
1056
bool rc = CAPI.
CryptAcquireContext
(ref hProv,