CERT_CREDENTIAL_INFO structure (wincred.h)

The CERT_CREDENTIAL_INFO structure contains a reference to a certificate.

Syntax

typedef struct _CERT_CREDENTIAL_INFO {
  ULONG cbSize;
  UCHAR rgbHashOfCert[CERT_HASH_LENGTH];
} CERT_CREDENTIAL_INFO, *PCERT_CREDENTIAL_INFO;

Members

cbSize

Size of the structure in bytes. This member should be set to sizeof(CERT_CREDENTIAL_INFO). This structure might be a larger value in the future, indicating a newer version of the structure.

rgbHashOfCert[CERT_HASH_LENGTH]

SHA-1 hash of the certificate referenced.

Remarks

CERT_HASH_LENGTH is defined as 20 in WinCred.h.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wincred.h