Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
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.
| Value | Meaning |
|---|---|
|
The response has valid confirmations. |
|
The request received does not conform to OCSP syntax. |
|
The responder encountered an internal error. The request should be resent to a different responder. |
|
The responder service is operational but temporarily unable to respond. |
|
This value is not used. |
|
Before the responder service can respond, it requires that the client sign the request. |
|
The client is not authorized to request a response from this responder service. |
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 |
See also
Feedback
Was this page helpful?
