Cryptography Data Types

The following data types are used by cryptography functions, interfaces, and objects.

Data type Description
ALG_ID Specifies algorithm identifiers.
HCERT_SERVER_OCSP_RESPONSE Represents a handle to an OCSP response associated with a server certificate chain.
HCRYPTHASH Specifies handles to a hash object.
HCRYPTKEY Specifies handles to cryptographic keys.
HCRYPTOIDFUNCADDR Represents a handle to a function that can be installed by using an object identifier (OID).
HCRYPTOIDFUNCSET Represents a handle to a set of functions that can be installed by using an OID.
HCRYPTPROV_LEGACY Used to replace the HCRYPTPROV data type where the HCRYPTPROV data type is no longer used.
HCRYPTPROV_OR_NCRYPT_KEY_HANDLE Specifies a handle to a CryptoAPI cryptographic service provider (CSP) or CNG CSP.
HCRYPTPROV Specifies a handle to a CryptoAPI CSP.
KEYSVCC_HANDLE Specifies handles to the key service.