CERT_KEY_CONTEXT (Windows CE 5.0)

Send Feedback

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.

typedef struct _CERT_KEY_CONTEXT {DWORD cbSize;HCRYPTPROVhCryptProv;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

OS Versions: Windows CE 3.0 and later.
Header: Wincrypt.h.

See Also

CertGetCertificateContextProperty | CertSetCertificateContextProperty

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.