CERT_KEY_CONTEXT (Compact 2013)
3/28/2014
This structure contains data for the pvData member of a Value member of the CERT_EXTENSION structure associated with a CERT_KEY_CONTEXT_PROP_ID property.
Syntax
typedef struct _CERT_KEY_CONTEXT {
DWORD cbSize;
HCRYPTPROV hCryptProv;
DWORD dwKeySpec;
} CERT_KEY_CONTEXT, *PCERT_KEY_CONTEXT;
Members
- cbSize
Size of this structure in bytes.
- hCryptProv
Handle to the cryptographic service provider (CSP).
dwKeySpec
Specification of the private key to retrieve. The following table shows values for this member that are defined for the default provider.Value
Description
AT_KEYEXCHANGE
Keys used to encrypt/decrypt session keys.
AT_SIGNATURE
Keys used to create and verify digital signatures.
Requirements
Header |
wincrypt.h |
See Also
Reference
Cryptography Structures
CertGetCertificateContextProperty
CertSetCertificateContextProperty