OCSP_RESPONSE_INFO structure (wincrypt.h)
The OCSP_RESPONSE_INFO structure indicates the success or failure of the corresponding online certificate status protocol (OCSP) request. For successful requests, it contains the type and value of response information.
Syntax
typedef struct _OCSP_RESPONSE_INFO {
DWORD dwStatus;
LPSTR pszObjId;
CRYPT_OBJID_BLOB Value;
} OCSP_RESPONSE_INFO, *POCSP_RESPONSE_INFO;
Members
dwStatus
A value that indicates the processing status of the corresponding request. If the status is anything other than OCSP_SUCCESSFUL_RESPONSE, pszObjId and Value are not set.
This member can be one of the following possible values.
pszObjId
A pointer to a string that identifies the type of data in Value.
The following table lists possible values for pszObjId.
Value | Meaning |
---|---|
|
1.3.6.1.5.5.7.48.1.1 |
Value
An array of bytes that contain data encoded by using Distinguished Encoding Rules (DER), as specified by pszObjId.
Remarks
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 |