OCSPRequestSendRequest(String) Method

Sends OCSP request (encoded raw data) to a OCSP responder specified in URL property by using specific network method.

Definition

Namespace: SysadminsLV.PKI.OcspClient
Assembly: SysadminsLV.PKI.OcspClient (in SysadminsLV.PKI.OcspClient.dll) Version: 4.0.1
C#
public OCSPResponse SendRequest(
	string networkMethod
)

Parameters

networkMethod  String
Specifies the network method to attempt. Can be either, GET or POST.

Return Value

OCSPResponse
OCSPResponse object that represents OCSP response.

Exceptions

InvalidOperationExceptionThe OCSP server URL is NULL.
ArgumentExceptionThe network method is invalid.

See Also