OCSP_REQUEST_INFO structure (wincrypt.h)

The OCSP_REQUEST_INFO structure contains information for an online certificate status protocol (OCSP) request as specified by RFC 2560. The RFC specifies that a single request can contain a sequence of certificates for which statuses are required. The rgRequestEntry member of this structure contains an OCSP_REQUEST_ENTRY structure for each certificate in a sequence.

Syntax

typedef struct _OCSP_REQUEST_INFO {
  DWORD                dwVersion;
  PCERT_ALT_NAME_ENTRY pRequestorName;
  DWORD                cRequestEntry;
  POCSP_REQUEST_ENTRY  rgRequestEntry;
  DWORD                cExtension;
  PCERT_EXTENSION      rgExtension;
} OCSP_REQUEST_INFO, *POCSP_REQUEST_INFO;

Members

dwVersion

A value that indicates the protocol version of the OCSP request.

OCSP_REQUEST_V1 (0)

pRequestorName

A pointer to a CERT_ALT_NAME_ENTRY structure that contains the name bound to the certificate public key of the requester.

cRequestEntry

The number of elements in the rgRequestEntry array.

rgRequestEntry

An array of pointers to OCSP_REQUEST_ENTRY structures.

cExtension

The number of elements in the rgExtension array.

rgExtension

An array of pointers to CERT_EXTENSION structures, each of which contains information about the request.

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_ALT_NAME_ENTRY

CERT_EXTENSION

OCSP_REQUEST_ENTRY

RFC 2560 Online Certificate Status Protocol