Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure contains data for the pvDatamember of a Valuemember of the CERT_EXTENSIONstructure 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