The following cryptographic service provider (CSP) names are defined in Wincrypt.h. These constants are used with the CryptAcquireContext and CryptSetProvider functions.
| Constant/value | Description |
|---|---|
| MS_DEF_DH_SCHANNEL_PROV "Microsoft DH Schannel Cryptographic Provider" | The Microsoft DSS and Diffie-Hellman/Schannel Cryptographic Provider. |
| MS_DEF_DSS_DH_PROV "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider" | The Microsoft Base DSS and Diffie-Hellman Cryptographic Provider. |
| MS_DEF_DSS_PROV "Microsoft Base DSS Cryptographic Provider" | The Microsoft DSS Cryptographic Provider. |
| MS_DEF_PROV "Microsoft Base Cryptographic Provider v1.0" | The Microsoft Base Cryptographic Provider. |
| MS_DEF_RSA_SCHANNEL_PROV "Microsoft RSA Schannel Cryptographic Provider" | The Microsoft RSA/Schannel Cryptographic Provider. |
| MS_DEF_RSA_SIG_PROV "Microsoft RSA Signature Cryptographic Provider" | The Microsoft RSA Signature Cryptographic Provider is not supported. |
| MS_ENH_DSS_DH_PROV "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider" | The Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider. |
| MS_ENH_RSA_AES_PROV "Microsoft Enhanced RSA and AES Cryptographic Provider" | The Microsoft AES Cryptographic Provider. **Windows XP: **"Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)" |
| MS_ENHANCED_PROV "Microsoft Enhanced Cryptographic Provider v1.0" | The Microsoft Enhanced Cryptographic Provider. |
| MS_SCARD_PROV "Microsoft Base Smart Card Crypto Provider" | The Microsoft Base Smart Card Cryptographic Service Provider. |
| MS_STRONG_PROV "Microsoft Strong Cryptographic Provider" | The Microsoft Strong Cryptographic Provider. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | Wincrypt.h |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
