다음을 통해 공유


CERT_KEY_CONTEXT (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Cryptography Structures
CertGetCertificateContextProperty
CertSetCertificateContextProperty