OCSPSingleRequest(X509Certificate2, X509Certificate2, Boolean) Constructor
Initializes a new instance of
OCSPSingleRequest class from a certificate to include
in the request, certificate issuer and a value that indicates whether to include
X509ServiceLocatorExtension extension.
Namespace: SysadminsLV.PKI.OcspClientAssembly: SysadminsLV.PKI.OcspClient (in SysadminsLV.PKI.OcspClient.dll) Version: 4.0.1
public OCSPSingleRequest(
X509Certificate2 issuer,
X509Certificate2 leafCert,
bool serviceLocator
)
Public Sub New (
issuer As X509Certificate2,
leafCert As X509Certificate2,
serviceLocator As Boolean
)
public:
OCSPSingleRequest(
X509Certificate2^ issuer,
X509Certificate2^ leafCert,
bool serviceLocator
)
new :
issuer : X509Certificate2 *
leafCert : X509Certificate2 *
serviceLocator : bool -> OCSPSingleRequest
Parameters
- issuer X509Certificate2
-
An X509Certificate2 object that represents a certificate which is an issuer of the
certificate in the leafCert parameter.
- leafCert X509Certificate2
-
An X509Certificate2 object that represents a certificate to include in the request.
- serviceLocator Boolean
-
Indicates whether to include X509ServiceLocatorExtension extension.
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.