次の方法で共有


CERT_ID (Compact 2013)

3/28/2014

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

See Also

Reference

Cryptography Structures
CERT_ISSUER_SERIAL_NUMBER
BLOB (Cryptography)