HCRYPTPROV_OR_NCRYPT_KEY_HANDLE
The HCRYPTPROV_OR_NCRYPT_KEY_HANDLE data type is used as a handle to a CryptoAPI cryptographic service provider (CSP) or CNG CSP. This handle must be an HCRYPTPROV handle that has been created by using the CryptAcquireContext function or an NCRYPT_KEY_HANDLE handle that has been created by using the NCryptOpenKey function. New applications should always pass in the NCRYPT_KEY_HANDLE handle to a CNG CSP.
typedef ULONG_PTR HCRYPTPROV_OR_NCRYPT_KEY_HANDLE;
The following functions use the HCRYPTPROV_OR_NCRYPT_KEY_HANDLE data type:
- FreeCryptProvFromCertEx
- CertGetCertificateContextProperty
- CertSetCertificateContextProperty
- CryptAcquireCertificatePrivateKey
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | Wincrypt.h |
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro