Click or drag to resize

OCSPRequest Constructor (X509Certificate2Collection, X509Certificate2)

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.

Namespace:  PKI.OCSP
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public OCSPRequest(
	X509Certificate2Collection certs,
	X509Certificate2 issuer
)

Parameters

certs
Type: System.Security.Cryptography.X509CertificatesX509Certificate2Collection
An X509Certificate2Collection object that contains an array of certificates to verify.
issuer
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
An X509Certificate2 object that represents issuer certificate.
Exceptions
ExceptionCondition
ArgumentExceptioncerts parameter is an empty sequence.
ArgumentNullException Either, issuer and/or certs parameter is null.
See Also