OCSP_CERT_ID structure (wincrypt.h)

The OCSP_CERT_ID structure contains information to identify a certificate in an online certificate status protocol (OCSP) request or response. This structure is used in the OCSP_REQUEST_ENTRY and OCSP_BASIC_RESPONSE_ENTRY structures.

Syntax

typedef struct _OCSP_CERT_ID {
  CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
  CRYPT_HASH_BLOB            IssuerNameHash;
  CRYPT_HASH_BLOB            IssuerKeyHash;
  CRYPT_INTEGER_BLOB         SerialNumber;
} OCSP_CERT_ID, *POCSP_CERT_ID;

Members

HashAlgorithm

A CRYPT_ALGORITHM_IDENTIFIER structure that specifies the algorithm used to create IssuerNameHash and IssuerKeyHash.

IssuerNameHash

A CRYPT_HASH_BLOB that contains a hash of the certificate issuer subject name.

IssuerKeyHash

A CRYPT_HASH_BLOB that contains a hash of the certificate issuer public key.

SerialNumber

A BLOB that contains the serial number of the certificate. For more information, see the SerialNumber member description for CERT_INFO.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header wincrypt.h

See also

CERT_INFO

CRYPT_ALGORITHM_IDENTIFIER

OCSP_BASIC_RESPONSE_ENTRY

OCSP_REQUEST_ENTRY