Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CERT_ID
Collapse the table of content
Expand the table of content

CERT_ID structure

The CERT_ID structure is used as 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

A DWORD value that indicates which member of the union is being used. This can be one of the following values.

ValueMeaning
CERT_ID_ISSUER_SERIAL_NUMBER

IssuerSerialNumber

CERT_ID_KEY_IDENTIFIER

KeyId

CERT_ID_SHA1_HASH

HashId

 

IssuerSerialNumber

A CERT_ISSUER_SERIAL_NUMBER structure that uniquely identifies a certificate.

KeyId

A CRYPT_HASH_BLOB structure that contains a certificate key identifier.

HashId

A CRYPT_HASH_BLOB that contains a SHA1 hash of the certificate to be used as a unique identifier of the certificate.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft