Click or drag to resize

OCSPRequestSendRequest Method

Sends OCSP request (encoded raw data) to a OCSP responder specified in URL.

Namespace:  PKI.OCSP
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public OCSPResponse SendRequest()

Return Value

Type: OCSPResponse
OCSPResponse object that represents OCSP response.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe OCSP server URL is NULL.
Remarks
The following behavior is used by this method:

A GET network method is attempted. If GET fails with either, HTTP404 (Not Found) or HTTP405 (Method Not Allowed), a POST network method is used. If GET method fails with any other HTTP error code, POST method is not used.

See Also