OCSP_SIGNED_REQUEST_INFO structure (wincrypt.h)

The OCSP_SIGNED_REQUEST_INFO structure contains information for an online certificate status protocol (OCSP) request with optional signature information.

Syntax

typedef struct _OCSP_SIGNED_REQUEST_INFO {
  CRYPT_DER_BLOB       ToBeSigned;
  POCSP_SIGNATURE_INFO pOptionalSignatureInfo;
} OCSP_SIGNED_REQUEST_INFO, *POCSP_SIGNED_REQUEST_INFO;

Members

ToBeSigned

A BLOB that has been encoded by using Distinguished Encoding Rules (DER) and that contains the OCSP request information.

pOptionalSignatureInfo

A pointer to an OCSP_SIGNATURE_INFO structure that contains optional signature information.

Remarks

In an OCSP client application, this structure receives an encoded OCSP_REQUEST_INFO structure as its ToBeSigned member. Optionally, a signature of the ToBeSigned member is stored in the pOptionalSignatureInfo member.

On the receiving end, an OCSP responder application decodes the incoming request to populate an OCSP_SIGNED_REQUEST_INFO structure and subsequently decodes the ToBeSigned member to obtain an OCSP_REQUEST_INFO structure.

OCSP applications can encode or decode this structure by using X509_ASN_ENCODING or PKCS_7_ASN_ENCODING.

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

Constants for CryptEncodeObject and CryptDecodeObject

CryptDecodeObject

CryptDecodeObjectEx

CryptEncodeObject

CryptEncodeObjectEx

CryptSignAndEncodeCertificate

OCSP_SIGNATURE_INFO