Share via


CERT_ID

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure is a flexible means of uniquely identifying a certificate.

Syntax

typedef struct _CERT_ID {
  DWORD dwIdChoice;
  union {
    CERT_ISSUER_SERIAL_NUMBER IssuerSerialNumber;
    CRYPT_HASH_BLOB KeyId;
    CRYPT_HASH_BLOB HashId;
  };
} CERT_ID, *PCERT_ID;

Members

  • dwIdChoice
    DWORD indicating which member of the union is being used. The following table shows possible values for this member.

    Value Union member used

    CERT_ID_ISSUER_SERIAL_NUMBER

    IssuerSerialNumber

    CERT_ID_KEY_IDENTIFIER

    KeyId

    CERT_ID_SHA1_HASH

    HashId

  • HashId
    CRYPT_HASH_BLOB structure containing an SHA1 hash of the certificate to be used as a unique identifier of the certificate.

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

CERT_ISSUER_SERIAL_NUMBER
BLOB (Cryptography)