OCSP_BASIC_SIGNED_RESPONSE_INFO structure (wincrypt.h)

The OCSP_BASIC_SIGNED_RESPONSE_INFO structure contains a basic online certificate status protocol (OCSP) response with a signature.

Syntax

typedef struct _OCSP_BASIC_SIGNED_RESPONSE_INFO {
  CRYPT_DER_BLOB      ToBeSigned;
  OCSP_SIGNATURE_INFO SignatureInfo;
} OCSP_BASIC_SIGNED_RESPONSE_INFO, *POCSP_BASIC_SIGNED_RESPONSE_INFO;

Members

ToBeSigned

A BLOB that has been encoded by using Distinguished Encoding Rules (DER) and that contains an encoded OCSP_BASIC_RESPONSE_INFO structure.

SignatureInfo

A pointer to signature information for the ToBeSigned data.

Remarks

In an OCSP responder service, this structure receives an encoded OCSP_BASIC_RESPONSE_INFO structure as its ToBeSigned member. The signature of the ToBeSigned member is stored in the SignatureInfo member. The encoded OCSP_BASIC_SIGNED_RESPONSE_INFO structure is stored in an OCSP_RESPONSE_INFO structure.

On the receiving end, an OCSP client application must decode the OCSP_RESPONSE_INFO Value member to obtain this structure and subsequently decode the OCSP_BASIC_SIGNED_RESPONSE_INFO ToBeSigned member to obtain an OCSP_BASIC_RESPONSE_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

CRYPT_DER_BLOB

OCSP_SIGNATURE_INFO