OCSPRequest(X509Certificate2Collection, X509Certificate2) Constructor

Initializes a new instance of OCSPRequest using issuer certificate, an array of certificates to verify and indication whether to include ServiceLocator extension to the request.

Definition

Namespace: SysadminsLV.PKI.OcspClient
Assembly: SysadminsLV.PKI.OcspClient (in SysadminsLV.PKI.OcspClient.dll) Version: 4.0.1
C#
public OCSPRequest(
	X509Certificate2Collection certs,
	X509Certificate2 issuer
)

Parameters

certs  X509Certificate2Collection
An X509Certificate2Collection object that contains an array of certificates to verify.
issuer  X509Certificate2
An X509Certificate2 object that represents issuer certificate.

Exceptions

ArgumentExceptioncerts parameter is an empty sequence.
ArgumentNullException Either, issuer and/or certs parameter is null.

See Also