Click or drag to resize

OCSPSingleRequest Constructor (X509Certificate2, Boolean)

Intitializes a new instance of OCSPSingleRequest class from a certificate to include in the request and value that indicates whether to include X509ServiceLocatorExtension extension.

Namespace:  PKI.OCSP
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public OCSPSingleRequest(
	X509Certificate2 cert,
	bool serviceLocator
)

Parameters

cert
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
An X509Certificate2 object that represents a certificate to verify.
serviceLocator
Type: SystemBoolean
Specifies whether to include Service Locator extension in request.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe cert parameter is null.
Remarks
Service Locator extension is used only when target OCSP responder is configured as a OCSP-Proxy and is capable to forward original request to a authoritative responder. Normally this extension SHOULD NOT be used.
See Also