CERT_KEY_CONTEXT

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;
HCRYPTPROV hCryptProv;
DWORD dwKeySpec;
} CERT_KEY_CONTEXT,  *PCERT_KEY_CONTEXT;

Members

  • cbSize
    Size of this structure in bytes.
  • hCryptProv
    Cryptographic service provider (CSP) handle.
  • dwKeySpec
    Specification of the private key to retrieve. The following dwKeySpec values 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

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 or later Wincrypt.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CertGetCertificateContextProperty, CertSetCertificateContextProperty

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.