CERT_KEY_CONTEXT
A version of this page is also available for
4/8/2010
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 |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
CertGetCertificateContextProperty
CertSetCertificateContextProperty